Sha256: 7e2fe9c7e5b9349fb0b8dfc8368d9562357575aa916070de32f7913b6909476a

Contents?: true

Size: 980 Bytes

Versions: 17

Compression:

Stored size: 980 Bytes

Contents

require 'yaml'
require 'csv'
require 'active_support/core_ext/hash'

require 'test_helper'

require 'acceptance_test'

require 'turnip/capybara'
require 'gnawrnip'

require 'steps/search_with_drivers_steps'
require 'steps/search_with_pages_steps'
require 'steps/search_with_scenario_outline_steps'
require 'steps/search_with_table_steps'

acceptance_test = AcceptanceTest.instance

RSpec.configure do |conf|
  conf.before(:type => :feature) do
    config_name = File.expand_path("spec/acceptance_config.yml")
    config = config_name ? HashWithIndifferentAccess.new(YAML.load_file(config_name)) : {}

    acceptance_test.configure(config)

    # acceptance_test.configure(webapp_url: 'http://www.wikipedia.org')
    # acceptance_test.register_driver(:webkit)
    # acceptance_test.register_driver(:poltergeist)

    acceptance_test.configure_turnip 'tmp/report.html'

    acceptance_test.setup
  end

  conf.after(:type => :feature) do
    acceptance_test.teardown
  end
end





Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
acceptance_test-1.8.7 spec/turnip_helper.rb
acceptance_test-1.8.6 spec/turnip_helper.rb
acceptance_test-1.8.5 spec/turnip_helper.rb
acceptance_test-1.8.4 spec/turnip_helper.rb
acceptance_test-1.8.3 spec/turnip_helper.rb
acceptance_test-1.8.2 spec/turnip_helper.rb
acceptance_test-1.8.1 spec/turnip_helper.rb
acceptance_test-1.8.0 spec/turnip_helper.rb
acceptance_test-1.7.14 spec/turnip_helper.rb
acceptance_test-1.7.13 spec/turnip_helper.rb
acceptance_test-1.7.12 spec/turnip_helper.rb
acceptance_test-1.7.11 spec/turnip_helper.rb
acceptance_test-1.7.9 spec/turnip_helper.rb
acceptance_test-1.7.8 spec/turnip_helper.rb
acceptance_test-1.7.7 spec/turnip_helper.rb
acceptance_test-1.7.6 spec/turnip_helper.rb
acceptance_test-1.7.5 spec/turnip_helper.rb