Skip to content

Instantly share code, notes, and snippets.

@seban
Created December 24, 2013 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seban/8111894 to your computer and use it in GitHub Desktop.
Save seban/8111894 to your computer and use it in GitHub Desktop.
Running this spec raises an ArgumentError: wrong number of arguments (2 for 0) at line 9.
require "rubygems"
require "minitest/autorun"
describe "#let" do
describe "problematic names" do
let(:message) { "It is my message" }
it "is not accessible" do
message.must_equal "It is my message"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment