Sha256: cc9b404b349fa35b14ed5ec711783866939b1acebf11da5f1af503dcff46725a

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

if ENV['CODECLIMATE_REPO_TOKEN']
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
else
  require 'simplecov'
  SimpleCov.start
end

require 'sandthorn_sequel_projection'
require 'sandthorn_event_filter/rspec/custom_matchers'
require 'support/mock_event_store'

RSpec.configure do |config|
  config.before(:each) do
    SandthornSequelProjection.configure do |config|
      config.db_connection = Sequel.sqlite
    end
  end
end

Sandthorn.configure do |sand|
  sand.event_stores = { default: SandthornSequelProjection::MockEventStore.new }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sandthorn_sequel_projection-0.0.4 spec/spec_helper.rb
sandthorn_sequel_projection-0.0.3 spec/spec_helper.rb
sandthorn_sequel_projection-0.0.2 spec/spec_helper.rb
sandthorn_sequel_projection-0.0.1 spec/spec_helper.rb