test/test_api.rb in rest-graph-1.4.6 vs test/test_api.rb in rest-graph-1.5.0

- old
+ new

@@ -52,10 +52,10 @@ it 'would call post_request after request' do stub_request(:put, 'https://graph.facebook.com/feed/me'). with(:body => 'message=hi%20there').to_return(:body => '[]') - mock.proxy(rg = RestGraph.new).post_request('[]', nil) + mock.proxy(rg = RestGraph.new).post_request('[]', {}) rg.put('feed/me', :message => 'hi there'). should == [] end it 'would not raise exception when encountering error' do