spec/zertico/controller_spec.rb in zertico-0.5.4 vs spec/zertico/controller_spec.rb in zertico-0.5.5

- old
+ new

@@ -110,11 +110,11 @@ end end context '#update' do before :each do - controller.stub(:interface_name, :to_sym).and_return(:user) - controller.stub(:params).and_return({:id => 1, :user => 'user' }) + controller.stub_chain(:interface_name, :to_sym).and_return(:user) + controller.stub(:params).and_return({ :id => 1, :user => 'user' }) controller.stub(:modify => { :user => 'user' }) controller.stub(:respond_with) controller.update end \ No newline at end of file