Sha256: 7e9501417a2201b2028c29c8828c2ecae3ace5dd7482b934927d778a839bbecf
Contents?: true
Size: 614 Bytes
Versions: 7
Compression:
Stored size: 614 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require "rails/generators/test_case" Rails.backtrace_cleaner.remove_silencers! # Load database schema ActiveRecord::Base.configurations = YAML.load(File.read(File.expand_path("../dummy/config/database.yml", __FILE__))) ActiveRecord::Base.establish_connection("test") ActiveRecord::Migration.verbose = false load(File.expand_path("../dummy/db/schema.rb", __FILE__)) # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Version data entries
7 entries across 7 versions & 1 rubygems