1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-06-03 21:45:48 +00:00

fix(specs): stub IPv6 support in address guard IPv6 literal spec

The spec relied on the test machine having real IPv6 connectivity,
which GitHub Actions runners do not have.
هذا الالتزام موجود في:
Adam Cooke
2026-06-03 15:43:02 +01:00
الأصل 0445e5c509
التزام 029bfe098d

عرض الملف

@@ -23,6 +23,8 @@ RSpec.describe Postal::HTTP::AddressGuard do
context "when given a public IPv6 literal" do
let(:host) { "2606:2800:220:1:248:1893:25c8:1946" }
before { allow(described_class).to receive(:ipv6_supported?).and_return(true) }
it "returns the address to connect to" do
expect(call).to eq "2606:2800:220:1:248:1893:25c8:1946"
end