Class: ActionController::IntegrationTest
- Inherits:
-
Object
- Object
- ActionController::IntegrationTest
- Defined in:
- lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb
Direct Known Subclasses
Defined Under Namespace
Classes: TestResultHack
Class Method Summary collapse
-
.fixture_path ⇒ Object
TODO: For some reason IntegrationTest does not use ActiveSupport::TestCase.fixture_path, but uses its own @fixture_path.
Instance Method Summary collapse
-
#initialize(example_proxy, &implementation) ⇒ IntegrationTest
constructor
A new instance of IntegrationTest.
Constructor Details
#initialize(example_proxy, &implementation) ⇒ IntegrationTest
Returns a new instance of IntegrationTest.
12 13 14 15 16 17 18 |
# File 'lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb', line 12 def initialize(example_proxy, &implementation) @_proxy = example_proxy @_implementation = implementation @_backtrace = caller @_result = TestResultHack.new # This is a hack to fix an exception in Integration end |
Class Method Details
.fixture_path ⇒ Object
TODO: For some reason IntegrationTest does not use ActiveSupport::TestCase.fixture_path, but uses its own @fixture_path
8 9 10 |
# File 'lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb', line 8 def self.fixture_path ActiveSupport::TestCase.fixture_path end |