From: Toshi MARUYAMA Date: Fri, 14 Feb 2014 05:05:39 +0000 (+0000) Subject: use escaped "Can't" constant at MailerTest X-Git-Tag: 2.5.0~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23fb42a890f02585d44178c077ea9a9effacf4c3;p=redmine.git use escaped "Can't" constant at MailerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12883 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index ae9bbf595..8d661fc51 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -55,7 +55,7 @@ class MailerTest < ActiveSupport::TestCase # link to a referenced ticket assert_select 'a[href=?][title=?]', 'https://mydomain.foo/issues/1', - 'Can't print recipes (New)', + "#{ESCAPED_UCANT} print recipes (New)", :text => '#1' # link to a changeset assert_select 'a[href=?][title=?]', @@ -94,7 +94,7 @@ class MailerTest < ActiveSupport::TestCase # link to a referenced ticket assert_select 'a[href=?][title=?]', 'http://mydomain.foo/rdm/issues/1', - 'Can't print recipes (New)', + "#{ESCAPED_UCANT} print recipes (New)", :text => '#1' # link to a changeset assert_select 'a[href=?][title=?]', @@ -144,7 +144,7 @@ class MailerTest < ActiveSupport::TestCase # link to a referenced ticket assert_select 'a[href=?][title=?]', 'http://mydomain.foo/rdm/issues/1', - 'Can't print recipes (New)', + "#{ESCAPED_UCANT} print recipes (New)", :text => '#1' # link to a changeset assert_select 'a[href=?][title=?]',