Sha256: 472af37296545a9933a1bc57c3cd64625ebcec713950e72bf27df4bb35ff778f

Contents?: true

Size: 1.45 KB

Versions: 14

Compression:

Stored size: 1.45 KB

Contents

# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.

ENV["RAILS_ENV"] ||= "test"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')

require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
require 'cucumber/rails/rspec'
require 'cucumber/rails/world'
require 'cucumber/web/tableish'

require 'capybara/rails'
require 'capybara/cucumber'
require 'capybara/session'
# require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
# order to ease the transition to Capybara we set the default here. If you'd
# prefer to use XPath just remove this line and adjust any selectors in your
# steps to use the XPath syntax.
Capybara.default_selector = :css

# How to clean your database when transactions are turned off. See
# http://github.com/bmabey/database_cleaner for more info.
if defined?(ActiveRecord::Base)
  begin
    require 'database_cleaner'
    DatabaseCleaner.strategy = :truncation
  rescue LoadError => ignore_if_database_cleaner_not_present
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
site_logic-1.9.4 features/support/env.rb
site_logic-1.9.3 features/support/env.rb
ppc_logic-0.8.0 features/support/env.rb
site_logic-1.9.2 features/support/env.rb
site_logic-1.9.1 features/support/env.rb
site_logic-1.9.0 features/support/env.rb
site_logic-1.8.0 features/support/env.rb
site_logic-1.7.1 features/support/env.rb
site_logic-1.7.0 features/support/env.rb
site_logic-1.6.10 features/support/env.rb
site_logic-1.6.9 features/support/env.rb
site_logic-1.6.8 features/support/env.rb
site_logic-1.6.7 features/support/env.rb
site_logic-1.6.6 features/support/env.rb