Sha256: 03765f05d8b4531f4e2e3944d8612992e48369401653e143879a6d1c8eeb7950

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 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 }
    MemFs.activate!
  end

  config.after do
    MemFs.deactivate!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sql_migrations-2.1.0.pre2 spec/spec_helper.rb
sql_migrations-2.1.0.pre1 spec/spec_helper.rb