tests: fix /users?name=<nonexistent> test.

This commit is contained in:
evazion
2019-08-22 21:22:46 -05:00
parent e03f6b9bc0
commit 87c480e2ed

View File

@@ -19,7 +19,7 @@ class UsersControllerTest < ActionDispatch::IntegrationTest
should "raise error for /users?name=<nonexistent>" do
get users_path, params: { name: "nobody" }
assert_response :error
assert_response 404
end
should "list all users (with search)" do