mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Merge pull request #11470 from openfoodfoundation/dependabot/bundler/webmock-3.19.1
chore(deps-dev): bump webmock from 3.18.1 to 3.19.1
This commit is contained in:
@@ -772,7 +772,7 @@ GEM
|
||||
webfinger (1.2.0)
|
||||
activesupport
|
||||
httpclient (>= 2.4)
|
||||
webmock (3.18.1)
|
||||
webmock (3.19.1)
|
||||
addressable (>= 2.8.0)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
|
||||
@@ -29,7 +29,12 @@ describe '
|
||||
|
||||
before do
|
||||
Capybara.current_driver = :rack_test
|
||||
stub_request(:get, ->(uri) { uri.to_s.include? "/css/mail" })
|
||||
|
||||
# return a duplicate empaty string for CSS pack request like:
|
||||
# 'http://test.host/packs-test/css/mail-1ab2dc7f.css'
|
||||
# This is because Wicked PDF will try to force an encoding on the returned string, which will
|
||||
# break with a frozen string
|
||||
stub_request(:get, ->(uri) { uri.to_s.include? "/css/mail" }).to_return(body: "".dup)
|
||||
end
|
||||
|
||||
after do
|
||||
|
||||
@@ -27,7 +27,11 @@ describe "spree/admin/orders/invoice.html.haml" do
|
||||
display_checkout_total_less_tax: '8',
|
||||
outstanding_balance_label: 'Outstanding Balance'
|
||||
|
||||
stub_request(:get, ->(uri) { uri.to_s.include? "/css/mail" })
|
||||
# return a duplicate empaty string for CSS pack request like:
|
||||
# 'http://test.host/packs-test/css/mail-1ab2dc7f.css'
|
||||
# This is because Wicked PDF will try to force an encoding on the returned string, which will
|
||||
# break with a frozen string
|
||||
stub_request(:get, ->(uri) { uri.to_s.include? "/css/mail" }).to_return(body: "".dup)
|
||||
end
|
||||
|
||||
it "displays the customer code" do
|
||||
|
||||
Reference in New Issue
Block a user