Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created August 7, 2008 17:47
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 practicingruby/4452 to your computer and use it in GitHub Desktop.
Save practicingruby/4452 to your computer and use it in GitHub Desktop.
describe "A context" do
describe "With nesting" do
it "won't run in 1.9.0_3"
end
end
#####
$ ruby -v
ruby 1.9.0 (2008-07-25 revision 18217) [i686-darwin8.11.1]
$ spec foo.rb
/Users/sandal/lib/ruby19/lib/ruby/gems/1.9.0/gems/rspec-1.1.4/lib/spec/example
/example_group_methods.rb:40:in `eval':
wrong argument type Proc (expected Binding) (TypeError)
from /Users/sandal/lib/ruby19/lib/ruby/gems/1.9.0/
gems/rspec-1.1.4/lib/spec/example/example_group_methods.rb:40:in `describe'
from /Users/sandal/rspec-1.1.4/foo.rb:2:in `block in <top (required)>'
from /Users/sandal/lib/ruby19/lib/ruby/gems/1.9.0/gems/
rspec-1.1.4/lib/spec/example/example_group_methods.rb:46:in `module_eval'
from /Users/sandal/lib/ruby19/lib/ruby/gems/1.9.0/gems/
rspec-1.1.4/lib/spec/example/example_group_methods.rb:46:in `block in describe'
from /Users/sandal/lib/ruby19/lib/ruby/gems/1.9.0/gems/
rspec-1.1.4/lib/spec/extensions/class.rb:14:in `instance_eval'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment