Sha256: 56cb575ba5148f0b37ddfafebc33368a677c74c35fd656328db223608d4718b1
Contents?: true
Size: 699 Bytes
Versions: 36
Compression:
Stored size: 699 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! # Configure capybara require 'capybara/rails' Capybara.default_driver = :rack_test Capybara.default_selector = :css # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Run any available migration ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__) # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end
Version data entries
36 entries across 36 versions & 2 rubygems