Skip to content

Commit 8f7b29c

Browse files
committed
Test helper add config.hosts
1 parent e8c8c43 commit 8f7b29c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class TestApp < Rails::Application
6464
if Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR == 2
6565
config.active_record.sqlite3.represent_boolean_as_integer = true
6666
end
67+
68+
config.hosts << "www.example.com"
6769
end
6870

6971
require 'rails/test_help'

0 commit comments

Comments
 (0)