Module: Spree::TestingSupport::BlacklistUrls

Defined in:
lib/spree/testing_support/blacklist_urls.rb

Instance Method Summary collapse

Instance Method Details

#setup_url_blacklist(browser) ⇒ Object



6
7
8
9
10
# File 'lib/spree/testing_support/blacklist_urls.rb', line 6

def setup_url_blacklist(browser)
  if browser.respond_to?(:url_blacklist)
    browser.url_blacklist = ['https://fonts.googleapis.com']
  end
end