spec/spec_helper.rb in restful_resource-0.8.0 vs spec/spec_helper.rb in restful_resource-0.8.1

- old
+ new

@@ -4,5 +4,10 @@ RSpec.configure do |config| config.color = true config.formatter = :progress end + + +def expect_get(url, response) + expect(@mock_http).to receive(:get).with(url).and_return(response) +end