Sha256: fd51abead8a0fc1cdb47902ace9509af1f0effbb28eb050a3ebe093a4a01ec63

Contents?: true

Size: 428 Bytes

Versions: 18

Compression:

Stored size: 428 Bytes

Contents

# Define a bare test case to use with Capybara
class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
  include Capybara::DSL
  include Rails.application.routes.url_helpers

  teardown do
    DatabaseCleaner.clean       # Truncate the database
    Capybara.reset_sessions!    # Forget the (simulated) browser state
    Capybara.use_default_driver # Revert Capybara.current_driver to Capybara.default_driver
  end


end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
opro-0.5.0 test/support/integration_case.rb
opro-0.4.3 test/support/integration_case.rb
opro-0.4.2 test/support/integration_case.rb
opro-0.4.1 test/support/integration_case.rb
opro-0.4.0 test/support/integration_case.rb
opro-0.3.3 test/support/integration_case.rb
opro-0.3.2 test/support/integration_case.rb
opro-0.3.1 test/support/integration_case.rb
opro-0.3.0 test/support/integration_case.rb
opro-0.3.0.pre3 test/support/integration_case.rb
opro-0.3.0.pre2 test/support/integration_case.rb
opro-0.3.0.pre1 test/support/integration_case.rb
opro-0.3.0.pre test/support/integration_case.rb
opro-0.2.1.pre test/support/integration_case.rb
opro-0.2.0 test/support/integration_case.rb
opro-0.1.0 test/support/integration_case.rb
opro-0.0.3 test/support/integration_case.rb
opro-0.0.2 test/support/integration_case.rb