diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-26 09:58:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-26 09:58:06 +0000 |
commit | 56ba4d02097a6eab3135281330c7574688fb0e56 (patch) | |
tree | e40f131cba603c876192e6d78e044c497b7c9fd5 /test/functional/issues_controller_test.rb | |
parent | fe22c77b593ee7451268753fcef95066eb645913 (diff) | |
download | redmine-56ba4d02097a6eab3135281330c7574688fb0e56.tar.gz redmine-56ba4d02097a6eab3135281330c7574688fb0e56.zip |
No need to use custom host name in these tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15285 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 7679195bb..2dd0f4618 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2587,7 +2587,7 @@ class IssuesControllerTest < ActionController::TestCase set_tmp_attachments_directory @request.session[:user_id] = 2 - with_settings :host_name => 'mydomain.foo', :protocol => 'http', :notified_events => %w(issue_added) do + with_settings :notified_events => %w(issue_added) do assert_difference 'Issue.count' do post :create, :project_id => 1, :issue => { :tracker_id => '1', :subject => 'With attachment' }, @@ -2597,7 +2597,7 @@ class IssuesControllerTest < ActionController::TestCase assert_not_nil ActionMailer::Base.deliveries.last assert_select_email do - assert_select 'a[href^=?]', 'http://mydomain.foo/attachments/download', 'testfile.txt' + assert_select 'a[href^=?]', 'http://localhost:3000/attachments/download', 'testfile.txt' end end |