@@ -59,7 +59,7 class IssuesControllerTest < ActionController::TestCase | |||
|
59 | 59 | assert_nil assigns(:project) |
|
60 | 60 | |
|
61 | 61 | # links to visible issues |
|
62 |
assert_select 'a[href=/issues/1]', :text => / |
|
|
62 | assert_select 'a[href=/issues/1]', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
63 | 63 | assert_select 'a[href=/issues/5]', :text => /Subproject issue/ |
|
64 | 64 | # private projects hidden |
|
65 | 65 | assert_select 'a[href=/issues/6]', 0 |
@@ -95,7 +95,7 class IssuesControllerTest < ActionController::TestCase | |||
|
95 | 95 | assert_template 'index' |
|
96 | 96 | assert_not_nil assigns(:issues) |
|
97 | 97 | |
|
98 |
assert_select 'a[href=/issues/1]', :text => / |
|
|
98 | assert_select 'a[href=/issues/1]', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
99 | 99 | assert_select 'a[href=/issues/5]', 0 |
|
100 | 100 | end |
|
101 | 101 | |
@@ -106,7 +106,7 class IssuesControllerTest < ActionController::TestCase | |||
|
106 | 106 | assert_template 'index' |
|
107 | 107 | assert_not_nil assigns(:issues) |
|
108 | 108 | |
|
109 |
assert_select 'a[href=/issues/1]', :text => / |
|
|
109 | assert_select 'a[href=/issues/1]', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
110 | 110 | assert_select 'a[href=/issues/5]', :text => /Subproject issue/ |
|
111 | 111 | assert_select 'a[href=/issues/6]', 0 |
|
112 | 112 | end |
@@ -119,7 +119,7 class IssuesControllerTest < ActionController::TestCase | |||
|
119 | 119 | assert_template 'index' |
|
120 | 120 | assert_not_nil assigns(:issues) |
|
121 | 121 | |
|
122 |
assert_select 'a[href=/issues/1]', :text => / |
|
|
122 | assert_select 'a[href=/issues/1]', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
123 | 123 | assert_select 'a[href=/issues/5]', :text => /Subproject issue/ |
|
124 | 124 | assert_select 'a[href=/issues/6]', :text => /Issue of a private subproject/ |
|
125 | 125 | end |
@@ -892,7 +892,7 class IssuesControllerTest < ActionController::TestCase | |||
|
892 | 892 | assert_select 'textarea[name=?]', 'issue[notes]' |
|
893 | 893 | end |
|
894 | 894 | end |
|
895 |
assert_select 'title', :text => "Bug #1: |
|
|
895 | assert_select 'title', :text => "Bug #1: #{ESCAPED_UCANT} print recipes - eCookbook - Redmine" | |
|
896 | 896 | end |
|
897 | 897 | |
|
898 | 898 | def test_show_by_manager |
General Comments 0
You need to be logged in to leave comments.
Login now