@@ -112,7 +112,7 class ContextMenusControllerTest < ActionController::TestCase | |||
|
112 | 112 | assert_select 'ul' do |
|
113 | 113 | assert_select 'a', 3 |
|
114 | 114 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=Foo", :text => 'Foo' |
|
115 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none' | |
|
115 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none' | |
|
116 | 116 | end |
|
117 | 117 | end |
|
118 | 118 | end |
@@ -162,7 +162,7 class ContextMenusControllerTest < ActionController::TestCase | |||
|
162 | 162 | assert_select 'a', 3 |
|
163 | 163 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=0", :text => 'No' |
|
164 | 164 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=1", :text => 'Yes' |
|
165 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none' | |
|
165 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none' | |
|
166 | 166 | end |
|
167 | 167 | end |
|
168 | 168 | end |
@@ -178,7 +178,7 class ContextMenusControllerTest < ActionController::TestCase | |||
|
178 | 178 | assert_select 'ul' do |
|
179 | 179 | assert_select 'a', Project.find(1).members.count + 1 |
|
180 | 180 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=2", :text => 'John Smith' |
|
181 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none' | |
|
181 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none' | |
|
182 | 182 | end |
|
183 | 183 | end |
|
184 | 184 | end |
@@ -193,7 +193,7 class ContextMenusControllerTest < ActionController::TestCase | |||
|
193 | 193 | assert_select 'ul' do |
|
194 | 194 | assert_select 'a', Project.find(1).shared_versions.count + 1 |
|
195 | 195 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=3", :text => '2.0' |
|
196 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none' | |
|
196 | assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none' | |
|
197 | 197 | end |
|
198 | 198 | end |
|
199 | 199 | end |
General Comments 0
You need to be logged in to leave comments.
Login now