[rspec-users] In spec/controller file not taking controller property

David Chelimsky dchelimsky at gmail.com
Sat Nov 13 02:14:45 EST 2010


On Nov 12, 2010, at 11:11 PM, Arun Sharma wrote:

> thanks for reply
>> ---
> 
>>  i commented all lines of code which you mentioned  but still this  code is not 
> working.Same code is working in other dummy application.
> 
>> I have installed rails 2.3.5 and rspec 2.1.0 and rspec-rails 2.1.0 and I also 
> installed plugin

There's your problem. RSpec-2 does not support Rails-2. Try using rspec-rails-1.3.3 and configuring gems (rather than plugins).

HTH,
David

> 
>> ----
> git://github.com/dchelimsky/rspec-rails.git -r 'refs/tags/1.2.9'
> 
> and
> 
> git://github.com/dchelimsky/rspec.git -r 'refs/tags/1.2.9'
> 
>> -----
> 
> Please post the solution.
> 
> I am waiting for reply
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list