Sha256: 32578d781fa13d5ba30bf2541c9a293a9f4cf60089cd699f7958420fe169978c

Contents?: true

Size: 677 Bytes

Versions: 8

Compression:

Stored size: 677 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

ENGINE_ROOT = File.join(File.dirname(__FILE__), '../')

# Load environment.rb from the dummy app.
require File.expand_path('../dummy/config/environment',  __FILE__)

abort("The Rails environment is running in production mode!") if Rails.env.production?
require 'spec_helper'
require 'rspec/rails'

# Load RSpec helpers.
Dir[File.join(ENGINE_ROOT, 'spec/support/**/*.rb')].each { |f| require f }

# Load migrations from the dummy app.
ActiveRecord::Migrator.migrations_paths = File.join(ENGINE_ROOT, 'spec/dummy/db/migrate')
ActiveRecord::Migration.maintain_test_schema!

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
hertz-2.0.0 spec/rails_helper.rb
hertz-1.0.2 spec/rails_helper.rb
timeful-2.1.0 spec/rails_helper.rb
timeful-2.0.0 spec/rails_helper.rb
timeful-1.1.0 spec/rails_helper.rb
timeful-1.0.0 spec/rails_helper.rb
timeful-0.0.1 spec/rails_helper.rb
hertz-1.0.1 spec/rails_helper.rb