Sha256: 294690e922feb1e282b45eb8ee997f17960e1351eaaaa351ec491c498244b563

Contents?: true

Size: 660 Bytes

Versions: 7

Compression:

Stored size: 660 Bytes

Contents

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

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

7 entries across 7 versions & 1 rubygems

Version Path
hamlit-1.6.6 spec/spec_helper.rb
hamlit-1.6.5 spec/spec_helper.rb
hamlit-1.6.4 spec/spec_helper.rb
hamlit-1.6.3 spec/spec_helper.rb
hamlit-1.6.2 spec/spec_helper.rb
hamlit-1.6.1 spec/spec_helper.rb
hamlit-1.6.0 spec/spec_helper.rb