mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 08:46:01 +01:00
add assert_select of button at IssuesControllerTest#test_get_bulk_edit
git-svn-id: http://svn.redmine.org/redmine/trunk@19974 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -6402,6 +6402,11 @@ class IssuesControllerTest < Redmine::ControllerTest
|
|||||||
assert_select 'select[name=?]', 'issue[priority_id]' do
|
assert_select 'select[name=?]', 'issue[priority_id]' do
|
||||||
assert_select 'option[value="15"]', 0
|
assert_select 'option[value="15"]', 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Initial form should hide 'follow' button
|
||||||
|
assert_select 'input[type=submit]', 1 do
|
||||||
|
assert_select '[name=?]', 'commit'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user