Sha256: b9e60f5b816b05e0b61ce569714bb379a0c081180957a2200a09567025d66afb

Contents?: true

Size: 805 Bytes

Versions: 3

Compression:

Stored size: 805 Bytes

Contents

# frozen_string_literal: true

require "commit_format"
require "commit_format/cli"

ROOT_DIR = File.expand_path("..", __dir__)
SPEC_DIR = File.expand_path(__dir__)
Dir.glob("support/**/*.rb", :base => SPEC_DIR).sort.each do |file|
  require file
end

RSpec.configure do |config|
  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.shared_context_metadata_behavior = :apply_to_host_groups
  config.example_status_persistence_file_path = "spec/examples.txt"
  config.disable_monkey_patching!
  config.warnings = true
  config.order = :random
  Kernel.srand config.seed

  config.include OutputHelper
  config.include RepositoryHelper
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commit_format-0.2.1 spec/spec_helper.rb
commit_format-0.2.0 spec/spec_helper.rb
commit_format-0.1.0 spec/spec_helper.rb