Sha256: cd72ac6d1d6e561f9944a080b752e8403698c0a0e80ee9cff25c934c280dfbf3

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 Bytes

Contents

# encoding: utf-8

# SimpleCov MUST be started before require 'rom-relation'
#
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 'lib/rom/support'
    add_filter 'spec'
  end
end

require 'rom-relation'
require 'rom-mapper'

require 'devtools/spec_helper'
require 'bogus/rspec'

include ROM

ROM_ENV = Environment.setup(test: 'memory://test')

Bogus.configure do |config|
  config.search_modules << ROM
end

RSpec.configure do |config|
  config.include(SpecHelper)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-relation-0.1.2 spec/spec_helper.rb