Sha256: f5a1fea26c2cbcdba70bc1eed32cbca5b2d55832153fedfd936ffd47d575dda1

Contents?: true

Size: 852 Bytes

Versions: 4

Compression:

Stored size: 852 Bytes

Contents

require 'coveralls'
require 'simplecov'
require 'unindent'
require_relative 'spec_helper/document_generator'
require_relative 'spec_helper/render_helper'
require_relative 'spec_helper/test_case'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start

RSpec.configure do |config|
  config.include RenderHelper

  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.around(:each, skipdoc: true) do |example|
    TestCase.skipdoc do
      example.run
    end
  end

  config.after(:suite) do
    if DocumentGenerator.generate_docs?
      DocumentGenerator.generate_docs!
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hamlit-1.7.2 spec/spec_helper.rb
hamlit-1.7.1 spec/spec_helper.rb
hamlit-1.7.0 spec/spec_helper.rb
hamlit-1.6.7 spec/spec_helper.rb