test/facebook/test_handler.rb in rest-more-2.0.4 vs test/facebook/test_handler.rb in rest-more-3.0.0

- old
+ new

@@ -2,11 +2,11 @@ require 'rest-more/test' describe RC::Facebook do after do WebMock.reset! - RR.verify + Muack.verify end describe 'log method' do should 'log whenever doing network request' do stub_request(:get, 'https://graph.facebook.com/me'). @@ -14,10 +14,10 @@ logger = [] rg = RC::Facebook.new(:log_method => lambda{ |s| logger << [s] }) rg.get('me').tap{} - logger.size.should.eq 3 # Auto + Future + Requested + logger.size.should.eq 1 end end describe 'with Graph API' do before do