mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Ignore test.host host to avoid error
``` Failed to open TCP connection to test.host:80 ```
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
f500d1e7a8
commit
9ea6fc00cb
@@ -27,7 +27,10 @@ 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" })
|
||||
# Ignore requests for CSS pack like: 'http://test.host/packs-test/css/mail-1ab2dc7f.css'
|
||||
VCR.configure do |config|
|
||||
config.ignore_hosts('test.host')
|
||||
end
|
||||
end
|
||||
|
||||
it "displays the customer code" do
|
||||
|
||||
Reference in New Issue
Block a user