-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathspec_helper.rb
More file actions
20 lines (16 loc) · 605 Bytes
/
spec_helper.rb
File metadata and controls
20 lines (16 loc) · 605 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true
RSpec.configure do |config|
config.disable_monkey_patching!
config.filter_run focus: true
config.filter_run_excluding changes_filesystem: true
config.run_all_when_everything_filtered = true
config.order = :random
config.example_status_persistence_file_path = '.rspec_failures'
config.shared_context_metadata_behavior = :apply_to_host_groups
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
end