Sha256: bec36754dea0fe9eb471e6372422a0194b81b5c7830bcce4b3bf5114e620f4f4
Contents?: true
Size: 701 Bytes
Versions: 52
Compression:
Stored size: 701 Bytes
Contents
# This file is copied to spec/ when you run 'rails generate rspec:install' ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../../spec/test_app/config/environment.rb", __FILE__) # Prevent database truncation if the environment is production abort("The Rails environment is running in production mode!") if Rails.env.production? require 'spec_helper' require 'rspec/rails' #Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f } ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! end
Version data entries
52 entries across 52 versions & 1 rubygems