fix: use local resolver for DNS tests (github actions blocks DNS seemingly)

This commit is contained in:
Adam Cooke
2024-03-04 13:15:40 +00:00
parent 87d35d7c41
commit a4d039c44d
+1 -1
View File
@@ -3,7 +3,7 @@
require "rails_helper" require "rails_helper"
RSpec.describe DNSResolver do RSpec.describe DNSResolver do
subject(:resolver) { described_class.for_domain("postalserver.io") } subject(:resolver) { described_class.local }
# Now, we could mock everything in here which would give us some comfort # Now, we could mock everything in here which would give us some comfort
# but I do think that we'll benefit more from having a full E2E test here # but I do think that we'll benefit more from having a full E2E test here