destroyLimericksController#destroy method functions correctly for the happy path.test/controllers/limericks_controller_test.rb"should destroy limerick"User fixture object one.limerick_url (with the retrieved limerick as an argument)assert_difference to check that the number of Limerick objects in the database decreased by 1.assert_response to check that the HTTP response has a redirect status code.assert_redirected_to to check that the HTTP redirect was to the root URL.assert_not_nil to check that a flash['success'] message was set.
rails test -v