]> source.dussan.org Git - redmine.git/commitdiff
add assert_select of form to IssuesControllerTest#test_get_bulk_copy_without_add_issu...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Aug 2020 12:44:07 +0000 (12:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Aug 2020 12:44:07 +0000 (12:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19958 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index 797039d648b55e1232ef8a249b0a8823b88522af..b4688eb05058b25e6bbb74ceda76d1d398457590 100644 (file)
@@ -7182,9 +7182,11 @@ class IssuesControllerTest < Redmine::ControllerTest
       }
     )
     assert_response :success
-    assert_select 'select[name=?]', 'issue[project_id]' do
-      assert_select 'option[value=""]', 0
-      assert_select 'option[value="2"]'
+    assert_select 'form#bulk_edit_form[action=?]', '/issues/bulk_update' do
+      assert_select 'select[name=?]', 'issue[project_id]' do
+        assert_select 'option[value=""]', 0
+        assert_select 'option[value="2"]'
+      end
     end
   end