From 23fb42a890f02585d44178c077ea9a9effacf4c3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 14 Feb 2014 05:05:39 +0000 Subject: [PATCH] use escaped "Can't" constant at MailerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12883 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/mailer_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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=?]', -- 2.39.5