Re: [Rails] Rspec failure on rails 3.2.6

2012-07-03 Thread Colin Law
On 3 July 2012 12:21, venkata reddy wrote: > I have a simple rspec test which is failing in after i upgrade to > 3.2.6. > > here is the spec in users_controller_spec.rb > > describe "show action" do > before(:each) do > User.stub!(:find).with(@user.id).and_return(@user) > end > > def do_

Re: [Rails] Rspec failure on rails 3.2.6

2012-07-03 Thread Oscar Del Ben
it looks like parameters are now passed as strings. -- Oscar Del Ben Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, July 3, 2012 at 4:21 AM, venkata reddy wrote: > I have a simple rspec test which is failing in after i upgrade to > 3.2.6. > > here is the spec in users_cont

[Rails] Rspec failure on rails 3.2.6

2012-07-03 Thread venkata reddy
I have a simple rspec test which is failing in after i upgrade to 3.2.6. here is the spec in users_controller_spec.rb describe "show action" do before(:each) do User.stub!(:find).with(@user.id).and_return(@user) end def do_get get :show, :id => @user.id end it "should be succe