Skip to content

Bump webmock from 3.9.5 to 3.10.0

George Koltsov requested to merge dependabot-bundler-webmock-3.10.0 into master

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

Merge request reports

Loading