vendor/eac_config/spec/spec_helper.rb in avm-tools-0.104.0 vs vendor/eac_config/spec/spec_helper.rb in avm-tools-0.105.0
- old
+ new
@@ -1,17 +1,4 @@
# frozen_string_literal: true
-# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
-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
-
- require 'eac_ruby_gem_support/rspec'
- ::EacRubyGemSupport::Rspec.setup(::File.dirname(__dir__), config)
-end
+require 'eac_ruby_utils/rspec/default_setup'
+::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))