diff --git a/config/environments/test.rb b/config/environments/test.rb index 675eb29..ecafbc2 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -35,7 +35,7 @@ # Print deprecation notices to the stderr config.active_support.deprecation = :stderr - config.action_mailer.default_url_options = {host: "localhost:3000"} + config.action_mailer.default_url_options = {host: "localhost", port: 3000} # Prevent Webmock to disable connection to localhost(solr specially) WebMock.disable_net_connect!(:allow_localhost => true) end