Sha256: e0e263caab96c7e0b01c00fa3798d092c7bbc6ff1b251be31a32e016f17a7afb

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 Bytes

Contents

class ActionController::IntegrationTest
  class TestResultHack
    def add_assertion
    end
  end

  # TODO: For some reason IntegrationTest does not use ActiveSupport::TestCase.fixture_path, but uses its own @fixture_path
  def self.fixture_path
    ActiveSupport::TestCase.fixture_path
  end

  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
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
pivotal-webrat-rspec-rails-0.1.1 lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb
honkster-webrat-rspec-rails-0.1.1 lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb
webrat-rspec-rails-0.1.1 lib/webrat_rspec_rails/extensions/action_controller_integration_test.rb