Sha256: cd840b383ce433e476d1cb8f6e785699b66482e9ee5b5a449fd4577519d4e550

Contents?: true

Size: 722 Bytes

Versions: 5

Compression:

Stored size: 722 Bytes

Contents

require 'simplecov'
require 'coveralls'
require 'codeclimate-test-reporter'

SimpleCov.start do
  if Coveralls.will_run?
    external_services = [
      Coveralls::SimpleCov::Formatter,
      CodeClimate::TestReporter::Formatter
    ]
  end

  formatter SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      *external_services
    ]

  coverage_dir('build/coverage')
end

require 'rspec/its'
require 'rspec/collection_matchers'
require 'rake/funnel'

# When invoked via the rspec rake task, output needs to by synced.
Rake::Funnel::Integration::SyncOutput.new

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rake-funnel-0.0.5.pre spec/spec_helper.rb
rake-funnel-0.0.4.pre spec/spec_helper.rb
rake-funnel-0.0.3.pre spec/spec_helper.rb
rake-funnel-0.0.2.pre spec/spec_helper.rb
rake-funnel-0.0.1.pre spec/spec_helper.rb