summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-21 04:39:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-21 04:39:56 +0000
commit6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac (patch)
tree4ad42455b3b4bfc62e5b0b4a7799b3a628e44dcd /test/unit/mailer_test.rb
parente2a999743e972f56dbd0e9b20bb7facb9a4a672d (diff)
downloadredmine-6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac.tar.gz
redmine-6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac.zip
Use regular edit/update actions and named routes for JournalsController.
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-rw-r--r--test/unit/mailer_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index f3742c2b5..8de5bfe56 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -68,7 +68,7 @@ class MailerTest < ActiveSupport::TestCase
# should be https://mydomain.foo/journals/diff/3?detail_id=4
# but the Rails 4.2 DOM assertion doesn't handle the ? in the
# attribute value
- 'https://mydomain.foo/journals/diff/3',
+ 'https://mydomain.foo/journals/3/diff',
'View differences',
:text => 'diff'
# link to an attachment
@@ -109,7 +109,7 @@ class MailerTest < ActiveSupport::TestCase
# should be http://mydomain.foo/rdm/journals/diff/3?detail_id=4
# but the Rails 4.2 DOM assertion doesn't handle the ? in the
# attribute value
- 'http://mydomain.foo/rdm/journals/diff/3',
+ 'http://mydomain.foo/rdm/journals/3/diff',
'View differences',
:text => 'diff'
# link to an attachment
@@ -179,7 +179,7 @@ class MailerTest < ActiveSupport::TestCase
# should be http://mydomain.foo/rdm/journals/diff/3?detail_id=4
# but the Rails 4.2 DOM assertion doesn't handle the ? in the
# attribute value
- 'http://mydomain.foo/rdm/journals/diff/3',
+ 'http://mydomain.foo/rdm/journals/3/diff',
'View differences',
:text => 'diff'
# link to an attachment