Sha256: 360c3282e9e6d8854497f6008634f132aa9c95acb343ddfb7a1e0948e5127c61

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

require 'bundler'
Bundler.require(:default, :test)

ENV['RAILS_ENV'] = 'test'

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')).freeze
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')

require 'embedded_associations'
require File.expand_path("../support/app/config/environment.rb",  __FILE__)

require 'rspec/rails'

require 'support/serialization_helpers'

ActiveRecord::Migrator.migrate(File.expand_path("../support/app/db/migrate/", __FILE__))

RSpec.configure do |config|
  config.use_transactional_fixtures = true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
embedded_associations-4.1.2 spec/spec_helper.rb
embedded_associations-4.1.1 spec/spec_helper.rb
embedded_associations-4.1.0 spec/spec_helper.rb
embedded_associations-4.0.0 spec/spec_helper.rb
embedded_associations-0.0.4 spec/spec_helper.rb