Hello, a very strange thing is happening : the test below pass but it
I had a syntax error which produced an exception in the browser and http
500 in the script/console (using app.get ‘/’)
But with rake test:functionals it passes - How is it possible ? Of
course this file is really executed by the test suite, I can see it in
the screen output of rake
Which mistery is this ?
require File.dirname(FILE) + ‘/…/test_helper’
Re-raise errors caught by the controller.
class AlertsController; def rescue_action(e) raise e end; end
class AlertsControllerTest < Test::Unit::TestCase
@controller = AlertsController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new