Sha256: a03ef54a58b38973ae739047353ade9605287c73eaad46c49046f8b18b413576

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'bundler'
require 'redis'
require 'bastet'

Bundler.setup

RSpec.configure do |config|
  config.mock_with :mocha

  config.before(:each) do
    @redis = Redis.new
  end

  config.after(:each) do
    @redis.flushdb
    Bastet.groups = []
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bastet-0.1.2 spec/spec_helper.rb
bastet-0.1.1 spec/spec_helper.rb