Sha256: 284f92d38980f7da3280183e86e625ee1a7a0a71b22df1748a6860f47db6285f

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

require 'bundler'
Bundler.require

require 'simplecov'
SimpleCov.start do
  add_filter('spec/')
end

require 'sequel'
require 'sequel_vault'

RSpec.configure do |config|
  config.order = 'random'

  config.before(:suite) do
    Sequel.connect('sqlite:/')
  end

  config.around do |example|
    Sequel::Model.db.transaction(rollback: :always) { example.run }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sequel_vault-0.5.2 spec/spec_helper.rb