Commit 051933e
Changed files (2)
spec
features
spec/features/gyms_spec.rb
@@ -32,7 +32,7 @@ feature "Gyms", type: :feature do
end
describe "search" do
- let!(:other_calgary_gym) do
+ let!(:other_calgary_gym) do
create(:gym, name: "world health", location: create(:calgary))
end
spec/rails_helper.rb
@@ -48,7 +48,14 @@ RSpec.configure do |config|
config.before(:each, js: true) do
DatabaseCleaner.strategy = :truncation
- page.driver.browser.url_blacklist = ["http://fonts.googleapis.com"]
+ page.driver.browser.url_blacklist = [
+ "http://apis.google.com",
+ "http://fonts.googleapis.com",
+ "http://www.google.com",
+ "https://accounts.google.com",
+ "https://maps.google.com",
+ "https://secure.gravatar.com",
+ ]
end
config.before(:each) do