Displaying 1 result from an estimated 1 matches for "test_get_index".
Did you mean:
sess_get_index
2006 Oct 12
2
Test should fail !
...AlertsController; def rescue_action(e) raise e end; end
class AlertsControllerTest < Test::Unit::TestCase
fixtures :clients
def setup
@controller = AlertsController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
def test_get_index
get :index
assert_response :success
end
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send emai...