Re: [rspec-users] Help me with Controllers spec

2009-10-16 Thread Matt Wynne
You're getting mixed up between stubbing the methods on the class (Brand) and the instance (Brand.new) Try the corrections below: On 16 Oct 2009, at 05:25, Elza wrote: I am starting with Rspec and I am having some errors in the Get/index Can someone help me with this? describe BrandsContro

[rspec-users] Help me with Controllers spec

2009-10-15 Thread Elza
I am starting with Rspec and I am having some errors in the Get/index Can someone help me with this? describe BrandsController, 'GET /index' do ## should_require_login :get, :index ##