Skip to content

Instantly share code, notes, and snippets.

@mistydemeo
Created January 20, 2013 05:15
Show Gist options
  • Save mistydemeo/c069b62854b588f7cad6 to your computer and use it in GitHub Desktop.
Save mistydemeo/c069b62854b588f7cad6 to your computer and use it in GitHub Desktop.
describe 'foo' do
before do
@ivar = 'foo'
end
it 'should let me use my @ivar' do
i = @ivar
klass = Class.new
dsl_method i
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment