Created
October 25, 2014 01:04
-
-
Save afazio/8562ba6ef8146d7b217b to your computer and use it in GitHub Desktop.
Webmock: Not accepting partial query matching in 1.20.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING WebMock::NetConnectNotAllowedError - Real HTTP connections are disabled. Unregistered request: GET http://api.xxx.org/content/items?per_page=100&promoted_showable_on=2014-10-24&promoted_to_homepage=true&site=a9569efc-528c-4549-b33d-1c91bec8880f&state=published,staged with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.0'} | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING You can stub this request with the following snippet: | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING stub_request(:get, "http://api.xxx.org/content/items?per_page=100&promoted_showable_on=2014-10-24&promoted_to_homepage=true&site=a9569efc-528c-4549-b33d-1c91bec8880f&state=published,staged"). | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.0'}). | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING to_return(:status => 200, :body => "", :headers => {}) | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING registered request stubs: | |
<snip> | |
[Fri Oct 24 2014 20:53:46 GMT-0400 (EDT)] WARNING stub_request(:get, "http://api.xxx.org/content/items with query params hash_including({"per_page"=>100, "promoted_to_homepage"=>true, "site"=>"a9569efc-528c-4549-b33d-1c91bec8880f", "state"=>"published,staged"})") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment