[rspec-users] why should_receive behaves differently

Sai Babu lists at ruby-forum.com
Mon Nov 15 23:31:37 EST 2010

Hi friends

in my rspec_controller


 get :show,:id => 1

in above example 1 if i mention get :show, :id => 1 below the
it is working fine

2]get :show,:id => 1

if i mention in the above way it is raising error!

Why ?
What is the reason?
Could any one explain please ?
Thanks in advance?

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

More information about the rspec-users mailing list