summaryrefslogtreecommitdiff
path: root/spec/lib/release_highlights/validator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/release_highlights/validator_spec.rb')
-rw-r--r--spec/lib/release_highlights/validator_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/lib/release_highlights/validator_spec.rb b/spec/lib/release_highlights/validator_spec.rb
index a423e8cc5f6..f30754b4167 100644
--- a/spec/lib/release_highlights/validator_spec.rb
+++ b/spec/lib/release_highlights/validator_spec.rb
@@ -78,7 +78,10 @@ RSpec.describe ReleaseHighlights::Validator do
end
describe 'when validating all files' do
- it 'they should have no errors' do
+ # Permit DNS requests to validate all URLs in the YAML files
+ it 'they should have no errors', :permit_dns do
+ stub_env('RSPEC_ALLOW_INVALID_URLS', 'false')
+
expect(described_class.validate_all!).to be_truthy, described_class.error_message
end
end