Sha256: a48d86dfdca1ddffb69c0d29333eecbcc8a88f5c70bf469dec7f5d890ae43865

Contents?: true

Size: 718 Bytes

Versions: 11

Compression:

Stored size: 718 Bytes

Contents

# Copyright (c) 2020 Jerome Arbez-Gindre
# frozen_string_literal: true

require('bundler/setup')
require('aruba/rspec')
require('aasm/rspec')

# formatter = [SimpleCov::Formatter::HTMLFormatter]
# SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(formatter)

require('simplecov')

SimpleCov.start do
  command_name 'spec:unit'

  add_group 'Libraries', 'lib'
  add_group 'Unit test', 'spec/unit'

  add_filter 'config'
  add_filter 'vendor'

  minimum_coverage 100
end

RSpec.configure do |config|
  config.include(Aruba::Api)
end

RSpec::Matchers.define(:matchdata_including) do |h|
  match do |matchdata|
    h.all? do |key, _|
      matchdata[key] == h[key]
    end
  end
end

require('defmastership')

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
defmastership-1.0.16 spec/spec_helper.rb
defmastership-1.0.15 spec/spec_helper.rb
defmastership-1.0.14 spec/spec_helper.rb
defmastership-1.0.13 spec/spec_helper.rb
defmastership-1.0.12 spec/spec_helper.rb
defmastership-1.0.11 spec/spec_helper.rb
defmastership-1.0.10 spec/spec_helper.rb
defmastership-1.0.9 spec/spec_helper.rb
defmastership-1.0.8 spec/spec_helper.rb
defmastership-1.0.7 spec/spec_helper.rb
defmastership-1.0.6 spec/spec_helper.rb