Class: ActionController::IntegrationTest

Inherits:
Object
  • Object
show all
Defined in:
lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb

Defined Under Namespace

Classes: TestResultHack

Class Method Summary collapse

Instance Method Summary collapse

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_pathObject

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