mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user