Sha256: e38ab27a3a66aff553a80809ce68d7ec22403de6456adbc04fface735659a226
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require "rails/all" require 'foreign_key_validation' require 'rspec/rails' require 'pry' RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.infer_base_class_for_anonymous_controllers = true # config.order = 'random' end setup_sqlite_db = lambda do ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') load "schema.rb" end silence_stream(STDOUT, &setup_sqlite_db)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreign_key_validation-0.0.2 | spec/spec_helper.rb |