Sha256: 0a5e4e0087e2ea1cdc504fbde356c11f82beea857ec38a2a5414defc2468d7ce
Contents?: true
Size: 638 Bytes
Versions: 15
Compression:
Stored size: 638 Bytes
Contents
require 'rspec' require 'rails' require 'sqlite3' require 'data_migrate' require 'pry' require 'timecop' RSpec.configure do |config| config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.after(:each) do DataMigrate.configure do |config| config.data_migrations_path = @prev_data_migrations_path end end config.before(:each) do |example| if example.metadata[:no_override] else @prev_data_migrations_path = DataMigrate.config.data_migrations_path DataMigrate.configure do |config| config.data_migrations_path = "spec/db/data" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems