Revision f4459c11
Added by David Davis about 8 years ago
test/functional/hosts_controller_test.rb | ||
---|---|---|
private
|
||
|
||
def multiple_hosts_submit_request(method, ids, notice, params = {})
|
||
post :"submit_multiple_#{method}", params.merge({:host_ids => ids}), set_session_user
|
||
post :"submit_multiple_#{method}", params.merge({:host_ids => ids}), set_session_user
|
||
assert_response :found
|
||
assert_redirected_to hosts_path
|
||
assert_equal notice, flash[:notice]
|
Also available in: Unified diff
Refs #3809 - Turning on some rubocop cops