Sha256: 64e65c48cffb18b512c3fc29fc2342cd38345521ff737b4df0b3071fad3b523f

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

# frozen_string_literal: true

# Bundler setup
require 'bundler'
Bundler.setup :default, :test

require 'simplecov'
require 'simplecov-cobertura'

SimpleCov.start do
  command_name 'rspec:unit'
  add_filter 'spec'

  self.formatters = [
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::CoberturaFormatter,
  ]
end

require 'msgr'

Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each {|f| require f }

RSpec.configure do |config|
  config.order = 'random'
  config.expect_with :rspec do |c|
    # Only allow expect syntax
    c.syntax = :expect
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
msgr-1.6.1 spec/unit/spec_helper.rb
msgr-1.6.0 spec/unit/spec_helper.rb