ConfigMan/spec/spec_helper.rb

16 lines
372 B
Ruby
Raw Permalink Normal View History

2023-10-13 18:09:22 -06:00
# frozen_string_literal: true
2023-10-13 21:16:43 -06:00
require 'configman'
2023-10-13 18:09:22 -06:00
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
2023-10-13 21:16:43 -06:00
config.example_status_persistence_file_path = '.rspec_status'
2023-10-13 18:09:22 -06:00
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :rspec do |c|
c.syntax = :expect
end
end