Sha256: cc0a5107cf452e09cac942edc9e5bd31f4f9a439f37aba8d5133fadcd33f9490

Contents?: true

Size: 728 Bytes

Versions: 4

Compression:

Stored size: 728 Bytes

Contents

# encoding: utf-8

if ENV['COVERAGE'] == 'true'
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
  ]

  SimpleCov.start do
    command_name     'spec:unit'
    add_filter       'config/'
    add_filter       'spec/'
    minimum_coverage 100
  end
end

require 'axiom-memory-adapter'
require 'devtools/spec_helper'

include Axiom

# require spec support files and shared behavior
Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each do |file|
  require file
end

RSpec.configure do |config|
  config.expect_with :rspec do |expect_with|
    expect_with.syntax = :expect
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
axiom-memory-adapter-0.2.1 spec/spec_helper.rb
axiom-memory-adapter-0.2.0 spec/spec_helper.rb
axiom-memory-adapter-0.0.3 spec/spec_helper.rb
axiom-memory-adapter-0.0.2 spec/spec_helper.rb