Sha256: 32586b802d9fd40788cbcf6e7c8b5d54839488e58d209d94a58623a580b7bf19

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

require 'adhearsion'
require 'sequella'

unless ENV['SKIP_RCOV']
  require 'simplecov'
  require 'simplecov-rcov'
  class SimpleCov::Formatter::MergedFormatter
    def format(result)
      SimpleCov::Formatter::HTMLFormatter.new.format(result)
      SimpleCov::Formatter::RcovFormatter.new.format(result)
    end
  end
  SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
  SimpleCov.start do
    add_filter "/vendor/"
    add_filter "/spec/"
  end
end

RSpec.configure do |config|
  config.color_enabled = true
  config.tty = true

  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sequella-1.1.1 spec/spec_helper.rb
sequella-1.1.0 spec/spec_helper.rb
sequella-1.0.1 spec/spec_helper.rb
sequella-1.0.0 spec/spec_helper.rb