Sha256: 8649c299ee64dede0787a99312212c4e8ffc990038b528ad875935fccb65fcf2
Contents?: true
Size: 644 Bytes
Versions: 2
Compression:
Stored size: 644 Bytes
Contents
ENV["RAILS_ENV"] ||= "test" require "bundler" require "rails/all" require "clearance" require "aruba/cucumber" require_relative "../../spec/dummy/application" require "cucumber/rails/action_controller" require "cucumber/rails/application" require "cucumber/rails/capybara" require "cucumber/rails/database" require "cucumber/rails/hooks" require "cucumber/rails/world" ActionController::Base.allow_rescue = false Capybara.default_selector = :css Capybara.save_and_open_page_path = "tmp" Dummy::Application.initialize! DatabaseCleaner.strategy = :transaction Around do |scenario, block| Bundler.with_clean_env do block.call end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clearance-1.7.0 | features/support/env.rb |
clearance-1.6.1 | features/support/env.rb |