specs/spec_helper.rb in fbgraph-1.7.1 vs specs/spec_helper.rb in fbgraph-1.8.0

- old
+ new

@@ -4,13 +4,13 @@ require 'redgreen' def expect_consumer(uri, result = '') consumer = @client.consumer[uri] consumer.stub!(:get).and_return(Struct.new(:body).new(result)) - @client.consumer.stub!(:[]).with(uri).and_return(consumer) + @client.consumer.stub!(:[]).with(uri).and_return(consumer) end def expect_consumer_post(uri, params = {}, result = '') rest_client = @client.consumer[uri] rest_client.stub!(:post).with(params).and_return(Struct.new(:body).new(result)) - @client.consumer.stub!(:[]).with(uri).and_return(rest_client) + @client.consumer.stub!(:[]).with(uri).and_return(rest_client) end