Sha256: f364c82907d1cf3c5bd6c22bfdc493250c2a9b5efb4cf638fb3afbe0b8646d75

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

ENV['RAILS_ENV'] = 'test'
require 'spec_helper'
require 'rspec/its'
require 'pry'
require File.expand_path('../dummy/config/environment.rb',  __FILE__)
require 'rspec/rails'

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

ActiveRecord::Migrator.migrations_paths = %w(db/migrate spec/dummy/db/migrate)
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

2 entries across 2 versions & 1 rubygems

Version Path
ar_default_values-0.5.1 spec/rails_helper.rb
ar_default_values-0.5.0 spec/rails_helper.rb