when I added the following test test "fail create gracefully" do assert_no_difference('Project.count') do Project.any_instance.stubs(:save).returns(false) post :create, :project => {:name => 'Project Runaway'} assert_template('new') end end

The first test failed

It looks like that the object stub affected the behavior of other testsI feel it is a silly question but I really appreciate if someone would help to understand how to overcome this issue