]> source.dussan.org Git - redmine.git/commitdiff
Test failures from r11331 (#13075).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Feb 2013 19:58:43 +0000 (19:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Feb 2013 19:58:43 +0000 (19:58 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11333 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/context_menus_controller_test.rb

index 9039ab00b8ed6802c436831deada82d838c62cae..110fd794314ff9911505b2550768fb3dcb37138c 100644 (file)
@@ -112,7 +112,7 @@ class ContextMenusControllerTest < ActionController::TestCase
       assert_select 'ul' do
         assert_select 'a', 3
         assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=Foo", :text => 'Foo'
-        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none'
+        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none'
       end
     end
   end
@@ -162,7 +162,7 @@ class ContextMenusControllerTest < ActionController::TestCase
         assert_select 'a', 3
         assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=0", :text => 'No'
         assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=1", :text => 'Yes'
-        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none'
+        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none'
       end
     end
   end
@@ -178,7 +178,7 @@ class ContextMenusControllerTest < ActionController::TestCase
       assert_select 'ul' do
         assert_select 'a', Project.find(1).members.count + 1
         assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=2", :text => 'John Smith'
-        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none'
+        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none'
       end
     end
   end
@@ -193,7 +193,7 @@ class ContextMenusControllerTest < ActionController::TestCase
       assert_select 'ul' do
         assert_select 'a', Project.find(1).shared_versions.count + 1
         assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=3", :text => '2.0'
-        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=", :text => 'none'
+        assert_select 'a[href=?]', "/issues/bulk_update?ids%5B%5D=1&amp;issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__", :text => 'none'
       end
     end
   end