From 50eed3f9ab31b30606f5f9d33d2e107498aaf5ab Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 6 Feb 2014 04:45:38 +0000 Subject: [PATCH] use escaped "Can't" constant at IssuesHelperTest git-svn-id: http://svn.redmine.org/redmine/trunk@12842 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/issues_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb index 27f4df0f9..fd574db91 100644 --- a/test/unit/helpers/issues_helper_test.rb +++ b/test/unit/helpers/issues_helper_test.rb @@ -216,7 +216,7 @@ class IssuesHelperTest < ActionView::TestCase :prop_key => 'precedes', :value => 1) assert_equal "Precedes Bug #1: Can't print recipes added", show_detail(detail, true) - assert_match %r{Precedes Bug #1: Can't print recipes added}, + assert_match %r{Precedes Bug #1: #{ESCAPED_UCANT} print recipes added}, show_detail(detail, false) end @@ -245,7 +245,7 @@ class IssuesHelperTest < ActionView::TestCase :prop_key => 'precedes', :old_value => 1) assert_equal "Precedes deleted (Bug #1: Can't print recipes)", show_detail(detail, true) - assert_match %r{Precedes deleted \(Bug #1: Can't print recipes\)}, + assert_match %r{Precedes deleted \(Bug #1: #{ESCAPED_UCANT} print recipes\)}, show_detail(detail, false) end -- 2.39.5