Skip to content

Instantly share code, notes, and snippets.

@robhanlon22
Created August 13, 2011 00:53
Show Gist options
  • Save robhanlon22/1143343 to your computer and use it in GitHub Desktop.
Save robhanlon22/1143343 to your computer and use it in GitHub Desktop.
describe Test do
let(:var) { 'thing' }
it 'should be a thing'
# Can't resolve var to a method or a variable because it's dynamically defined
var.should == 'thing'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment