Ignore test.host host to avoid error

```
Failed to open TCP connection to test.host:80
```
This commit is contained in:
Jean-Baptiste Bellet
2023-09-05 14:03:41 +02:00
committed by Gaetan Craig-Riou
parent f500d1e7a8
commit 9ea6fc00cb

View File

@@ -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