Bump webmock from 3.9.5 to 3.10.0
Bumps webmock from 3.9.5 to 3.10.0.
Changelog
Sourced from webmock's changelog.
3.10.0
Added option to global stubs to have lower priority than local stubs.
WebMock.globally_stub_request(:after_local_stubs) do { body: "global stub body" } end stub_request(:get, "www.example.com").to_return(body: 'non-global stub body') expect(http_request(:get, "http://www.example.com/").body).to eq("non-global stub body")
Thanks to Marek Kasztelnik
Commits
-
f61d51a
Version 3.10.0 -
bacb8a5
Merge pull request #920 from mkasztelnik/171-global-stubs-order -
90eaa4a
Option to invoke local stub before global stub - See full diff in compare view