Skip to content

Commit

Permalink
Test helper add config.hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
lgebhardt committed Nov 1, 2023
1 parent e8c8c43 commit 8f7b29c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class TestApp < Rails::Application
if Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR == 2
config.active_record.sqlite3.represent_boolean_as_integer = true
end

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

require 'rails/test_help'
Expand Down

0 comments on commit 8f7b29c

Please sign in to comment.