Fix tests that only worked if object 400 didn't exist

This commit is contained in:
Tom Hughes 2017-12-19 17:43:53 +00:00
parent e21c967fdd
commit c658e84535
3 changed files with 3 additions and 3 deletions

View file

@ -105,7 +105,7 @@ class WayControllerTest < ActionController::TestCase
end
# check error when a non-existent way is included
get :ways, :params => { :ways => "#{way1.id},#{way2.id},#{way3.id},#{way4.id},400" }
get :ways, :params => { :ways => "#{way1.id},#{way2.id},#{way3.id},#{way4.id},0" }
assert_response :not_found
end