Sha256: 557d4cbddb9c37017cf82e98f5f2c70f8600b98d48efc7d0dccd697ce9e789f5

Contents?: true

Size: 707 Bytes

Versions: 8

Compression:

Stored size: 707 Bytes

Contents

$:.unshift(File.join("../lib", __FILE__))

require "bundler/setup"
require 'rspec'

begin
  require 'simplecov'
  require 'simplecov-lcov'

  SimpleCov::Formatter::LcovFormatter.config do |config|
    #Coveralls is coverage by default/lcov. Send info results
    config.report_with_single_file = true
    config.single_report_path = 'coverage/lcov.info'
  end
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::LcovFormatter
  ])
  
  SimpleCov.start do
    add_filter "/spec/"
  end
rescue LoadError
end

require 'ppldid'

::RSpec.configure do |c|
  c.filter_run focus: true
  c.run_all_when_everything_filtered = true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ppldid-1.2.3 spec/spec_helper.rb
ppldid-1.2.2 spec/spec_helper.rb
ppldid-1.2.1 spec/spec_helper.rb
ppldid-1.2.0 spec/spec_helper.rb
ppldid-1.1.1 spec/spec_helper.rb
ppldid-1.1.0 spec/spec_helper.rb
ppldid-1.0.1 spec/spec_helper.rb
ppldid-1.0.0 spec/spec_helper.rb