Skip to content

Commit 1cf3bcf

Browse files
authored
Merge pull request #202 from y-yagi/fix_deprecated_message
Fix a deprecated message about `url_blacklist`
2 parents 4920a8b + f69a017 commit 1cf3bcf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@
3333
inspector: ENV['INSPECTOR'],
3434
headless: !ENV['NO_HEADLESS'],
3535
timeout: 20,
36-
url_blacklist: [
37-
"https://docs.ruby-lang.org/", # It is quite a heavy website iframed on playground
38-
# and for testing, we don't need it to be present.
39-
# This should spare us from random test failures.
40-
],
36+
# It is quite a heavy website iframed on playground
37+
# and for testing, we don't need it to be present.
38+
# This should spare us from random test failures.
39+
url_blocklist: %r{https://docs.ruby-lang.org/},
4140
)
4241
end
4342

0 commit comments

Comments
 (0)