spec/spec_helper.rb in capybara-3.36.0 vs spec/spec_helper.rb in capybara-3.37.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
require 'rspec/expectations'
-require 'webdrivers' if ENV['CI'] || ENV['WEBDRIVERS']
+require 'webdrivers' if ENV.fetch('CI', nil) || ENV.fetch('WEBDRIVERS', nil)
require 'selenium_statistics'
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear! do
add_filter '/lib/capybara/driver/'