Sha256: cb0ed22739dfb24e507de0603bed814d03f5b533f7cdaeb1eb853e4c21a899a7

Contents?: true

Size: 766 Bytes

Versions: 3

Compression:

Stored size: 766 Bytes

Contents

require 'simplecov'

module SimpleCov
  # SimpleCov configuration
  module Configuration
    def clean_filters
      @filters = []
    end
  end
end

SimpleCov.configure do
  clean_filters
  load_profile 'test_frameworks'
end

ENV['COVERAGE'] && SimpleCov.start do
  add_filter '/.rvm/'
  add_filter '/.rubies/'
  add_filter '/vendor/'
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rspec'
require 'rakuna/core'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rakuna-core-1.0.2 spec/spec_helper.rb
rakuna-core-1.0.1 spec/spec_helper.rb
rakuna-core-1.0.0 spec/spec_helper.rb