Sha256: 6793b44704391472b133ff5c9802a6746c728d88a3687cecb78b654420f828ea
Contents?: true
Size: 629 Bytes
Versions: 4
Compression:
Stored size: 629 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } require "capybara/rails" require "capybara-webkit" require "timecop" class ActionDispatch::IntegrationTest # Make the Capybara DSL available in all integration tests include Capybara::DSL fixtures :all setup do Capybara.current_driver = :webkit end def current_fullpath URI.parse(current_url).request_uri end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gretel-trails-0.0.5 | test/test_helper.rb |
gretel-trails-0.0.4 | test/test_helper.rb |
gretel-trails-0.0.3 | test/test_helper.rb |
gretel-trails-0.0.2 | test/test_helper.rb |