Sha256: 9f3be4b87257e062b666bf90972fb398037c93081119c863612a591b3a844f1a

Contents?: true

Size: 988 Bytes

Versions: 13

Compression:

Stored size: 988 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', "test"

    acceptance_test.setup
  end

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





Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
acceptance_test-1.9.13 spec/turnip_helper.rb
acceptance_test-1.9.12 spec/turnip_helper.rb
acceptance_test-1.9.11 spec/turnip_helper.rb
acceptance_test-1.9.10 spec/turnip_helper.rb
acceptance_test-1.9.9 spec/turnip_helper.rb
acceptance_test-1.9.8 spec/turnip_helper.rb
acceptance_test-1.9.7 spec/turnip_helper.rb
acceptance_test-1.9.6 spec/turnip_helper.rb
acceptance_test-1.9.5 spec/turnip_helper.rb
acceptance_test-1.9.4 spec/turnip_helper.rb
acceptance_test-1.9.3 spec/turnip_helper.rb
acceptance_test-1.9.2 spec/turnip_helper.rb
acceptance_test-1.9.1 spec/turnip_helper.rb