Skip to content

Commit

Permalink
Add www.example.com to config.hosts
Browse files Browse the repository at this point in the history
This resolves a bunch of (6) test failures that were failing due to an error page that said:

  To allow requests to www.example.com, add the following to your environment configuration:
  config.hosts << "www.example.com"
  • Loading branch information
TylerRick committed Sep 10, 2019
1 parent ab86801 commit 6fb0c9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class Application < Rails::Application

# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'

config.hosts << "www.example.com"
end
end

0 comments on commit 6fb0c9d

Please sign in to comment.