[rspec-users] [Rails] Can't get controller test working with RSpec 2 and edge Rails 3
Ashish Kumar
lists at ruby-forum.com
Mon Mar 7 04:55:36 EST 2011
dchelimsky at gmail.com wrote in post #921577:
> On Jun 25, 9:21 pm, David Chelimsky <dchelim... at gmail.com> wrote:
>> > require 'spec_helper'
>>
>> > undefined method `get' for
#<RSpec::Core::ExampleGroup::Nested_1:0xc9170d0
> @__memoized={}>
>> include RSpec::Rails::ControllerExampleGroup
>> David
> FYI: http://github.com/rspec/rspec-rails/issues/99
Just add config.include RSpec::Rails::ControllerExampleGroup in
spec_helper.rb
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list