Sha256: e1020e309ad7f3eb610ed051091a6a55df8c3ba367771d4d881092d089ac4805

Contents?: true

Size: 747 Bytes

Versions: 6

Compression:

Stored size: 747 Bytes

Contents

require 'simplecov'
require 'coveralls'
require 'codeclimate-test-reporter'
require 'bundler/setup'

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

6 entries across 6 versions & 1 rubygems

Version Path
rake-funnel-0.3.2.pre spec/spec_helper.rb
rake-funnel-0.3.1.pre spec/spec_helper.rb
rake-funnel-0.3.0.pre spec/spec_helper.rb
rake-funnel-0.2.0.pre spec/spec_helper.rb
rake-funnel-0.1.0.pre spec/spec_helper.rb
rake-funnel-0.0.6.pre spec/spec_helper.rb