The `assert_recognizes` is a functional/controller tests assertion whereas this is an integration test - you need to check the status, response, etc. Look at how the other tests in this file are structured.

Do you understand the difference between functional tests and integration tests in the Rails framework?