Revision 630061d2
Added by Michael Moll almost 6 years ago
test/controllers/environments_controller_test.rb | ||
---|---|---|
post :obsolete_and_new, params:
|
||
{ "changed"=>
|
||
{"obsolete" =>
|
||
{"env1" => '["a","b","c","_destroy_"]'}
|
||
{"env1" => '["a","b","c","_destroy_"]'}
|
||
}
|
||
}, session: set_session_user
|
||
assert Environment.unscoped.find_by_name("env1").hosts.count > 0
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop