Revision f4459c11
Added by David Davis about 8 years ago
test/functional/api/v1/subnets_controller_test.rb | ||
---|---|---|
end
|
||
|
||
test "does not create subnet with non-existent domain" do
|
||
post :create, { :subnet => valid_attrs.merge( :domain_ids => [1, 2] ) }
|
||
post :create, { :subnet => valid_attrs.merge(:domain_ids => [1, 2]) }
|
||
assert_response :not_found
|
||
end
|
||
|
Also available in: Unified diff
Refs #3809 - Turning on some rubocop cops