# File test/functional/test_users_controller_test.rb, line 79 def test_destroy assert_nothing_raised { User.find(@first_id) } post :destroy, :id => @first_id assert_response :redirect assert_redirected_to :action => 'list' assert_raise(ActiveRecord::RecordNotFound) { User.find(@first_id) } end