Sha256: b0d05d87e7f7d0fc69faeb0f4602e0599ebeffdc46776fb41a0b22f18d3a617f
Contents?: true
Size: 364 Bytes
Versions: 1
Compression:
Stored size: 364 Bytes
Contents
require 'bundler/setup' require 'memfs' Bundler.require RSpec.configure do |config| config.before do @sqlite_db = Sequel.sqlite allow(SqlMigrations::Database).to receive(:connect) { @sqlite_db } allow(SqlMigrations).to receive(:options) { { default: { development: {}}} } MemFs.activate! end config.after do MemFs.deactivate! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sql_migrations-1.1.0 | spec/spec_helper.rb |