page.find('#issue_status_id').select('Assigned')
assert_no_difference 'Issue.count' do
- submit_buttons[0].click
+ click_button('commit')
# wait for ajax response
assert page.has_css?('#flash_notice')
assert_current_path '/issues', :ignore_query => true
page.find('#issue_status_id').select('Feedback')
assert_no_difference 'Issue.count' do
- submit_buttons[1].click
+ click_button('follow')
# wait for ajax response
assert page.has_css?('#flash_notice')
assert_current_path '/projects/onlinestore/issues', :ignore_query => true