class IntegrationTestUsesCorrectClass

Tests that integration tests don't call Controller test methods for processing. Integration tests have their own setup and teardown.

Public Instance Methods

test_integration_methods_called() click to toggle source
# File actionpack/test/controller/integration_test.rb, line 163
def test_integration_methods_called
  reset!

  %w( get post head patch put delete ).each do |verb|
    assert_nothing_raised { __send__(verb, "/") }
  end
end