From 54a995ce7bb15b2bd5291e0339fa5a0cdd451c9d Mon Sep 17 00:00:00 2001 From: Arash Mousavi Date: Thu, 1 Aug 2013 20:32:57 +0430 Subject: [PATCH] Fix the issue with mailer tests --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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