Skip to content

Commit

Permalink
Use standard rspec options from the template gem
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Nov 7, 2022
1 parent 8daf54c commit 9ebe3b8
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,7 @@

TMP = SPEC_ROOT.join("..", RELATIVE_TMP).realpath

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.filter_run_when_matching :focus
config.disable_monkey_patching!

config.warnings = true

config.default_formatter = "doc" if config.files_to_run.one?
config.profile_examples = 10

config.order = :random
Kernel.srand config.seed
end
require_relative "support/rspec_options"

require "dry/logger"

Expand Down

0 comments on commit 9ebe3b8

Please sign in to comment.