test/flags_test.rb in gowalla-0.5.2 vs test/flags_test.rb in gowalla-0.5.3

- old
+ new

@@ -35,12 +35,12 @@ flags.first.status.should == 'open' end should "set a flag on a specific spot" do url = "https://pengwynn:0U812@api.gowalla.com/spots/1/flags/invalid" - FakeWeb.register_uri(:post, url, :body => '{"result": "flag created"}') + stub_post(url, "flag_created.json") response = @client.flag_spot(1, 'invalid', 'my problem description') response.result.should == 'flag created' end end -end \ No newline at end of file +end