summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 14:22:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 14:22:50 +0000
commitf86d4940e11f541cbb5244848025dad471457649 (patch)
tree5dbdab6ae443c792d96c0aae53d06c4590b33ab1 /test/functional
parentb35ed2ea2b21d7673f6706dd04166438b42bf046 (diff)
downloadredmine-f86d4940e11f541cbb5244848025dad471457649.tar.gz
redmine-f86d4940e11f541cbb5244848025dad471457649.zip
Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/activities_controller_test.rb4
-rw-r--r--test/functional/issues_controller_test.rb12
2 files changed, 8 insertions, 8 deletions
diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb
index 2a9af2d95..bfac75f5d 100644
--- a/test/functional/activities_controller_test.rb
+++ b/test/functional/activities_controller_test.rb
@@ -51,7 +51,7 @@ class ActivitiesControllerTest < ActionController::TestCase
assert_not_nil assigns(:events_by_day)
assert_select 'h3', :text => /#{3.days.ago.to_date.day}/
- assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'dl dt.issue a', :text => /Cannot print recipes/
end
def test_global_index
@@ -81,7 +81,7 @@ class ActivitiesControllerTest < ActionController::TestCase
d1 = User.find(1).time_to_date(i1.created_on)
assert_select 'h3', :text => /#{d1.day}/
- assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'dl dt.issue a', :text => /Cannot print recipes/
end
def test_user_index_with_invalid_user_id_should_respond_404
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 25829e733..9f6107c89 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -60,7 +60,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_nil assigns(:project)
# links to visible issues
- assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
# private projects hidden
assert_select 'a[href="/issues/6"]', 0
@@ -96,7 +96,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
- assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', 0
end
@@ -107,7 +107,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
- assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
assert_select 'a[href="/issues/6"]', 0
end
@@ -120,7 +120,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
- assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
+ assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
assert_select 'a[href="/issues/6"]', :text => /Issue of a private subproject/
end
@@ -900,7 +900,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_select 'textarea[name=?]', 'issue[notes]'
end
end
- assert_select 'title', :text => "Bug #1: #{ESCAPED_UCANT} print recipes - eCookbook - Redmine"
+ assert_select 'title', :text => "Bug #1: Cannot print recipes - eCookbook - Redmine"
end
def test_show_by_manager
@@ -2363,7 +2363,7 @@ class IssuesControllerTest < ActionController::TestCase
:notes => 'just trying'}
end
issue = Issue.find(1)
- assert_equal "Can't print recipes", issue.subject
+ assert_equal "Cannot print recipes", issue.subject
assert_nil issue.assigned_to
end