Skip to content

Instantly share code, notes, and snippets.

@kaosf
Last active August 29, 2015 14:01
Show Gist options
  • Save kaosf/c94a6ce4c0c2a81a238c to your computer and use it in GitHub Desktop.
Save kaosf/c94a6ce4c0c2a81a238c to your computer and use it in GitHub Desktop.
describe do
let(:x) { 1 }
describe do
let(:x) { x }
it { expect(x).to eq(1) }
end
end
# Run "rspec foo_spec.rb"
# It makes Ruby interpreter error on;
# RSpec 3.0.0.rc1
# Ruby 2.1.2
# Ubuntu 14.04 amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment