test/arity_test.rb in sinatra-backbone-0.1.0.rc2 vs test/arity_test.rb in sinatra-backbone-0.1.1

- old
+ new

@@ -29,9 +29,10 @@ assert json_response["contents"] = ["Hello", 21, 41, 61] end test "put/post" do FauxModel.any_instance.expects(:x=).times(1).returns(true) + FauxModel.any_instance.expects(:valid?).times(1).returns(true) FauxModel.any_instance.expects(:save).times(1).returns(true) header 'Accept', 'application/json, */*' header 'Content-Type', 'application/json' post "/api/20/40/60", JSON.generate('x' => 2)