Class: ExceptionNotificationCompatibilityTest

Inherits:
ActionController::TestCase
  • Object
show all
Defined in:
vendor/plugins/engines/test/functional/exception_notification_compatibility_test.rb

Defined Under Namespace

Classes: SimpleController

Instance Method Summary

Instance Method Details

- (Object) setup



18
19
20
21
22
# File 'vendor/plugins/engines/test/functional/exception_notification_compatibility_test.rb', line 18

def setup
  @controller = SimpleController.new
  @request    = ActionController::TestRequest.new
  @response   = ActionController::TestResponse.new
end

- (Object) test_should_work



24
25
26
27
28
# File 'vendor/plugins/engines/test/functional/exception_notification_compatibility_test.rb', line 24

def test_should_work
  assert_nothing_raised do
    get :index
  end
end