spec/stub_helper.rb in airborne-0.1.11 vs spec/stub_helper.rb in airborne-0.1.12

- old
+ new

@@ -1,9 +1,9 @@ require 'webmock/rspec' module StubHelper - def initialize + def initialize(*args) @base_url = 'http://www.example.com/' end def mock_get(url, response_headers = {}, status = 200) stub_request(:get, @base_url + url).to_return(headers: response_headers, body: get_json_response_file(url), status: status)