[rspec-users] undefined method `mock' for #<RSpec::Core::ExampleGroup::Nested.

Dan F. lists at ruby-forum.com
Wed Jan 19 15:54:36 EST 2011


Please see:
https://github.com/rspec/rspec-rails/issues/closed#issue/279

You can't create mocks in before(:all), but it will work in 
before(:each)

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list