spec/spec_helper.rb in rubocop-rspec-1.27.0 vs spec/spec_helper.rb in rubocop-rspec-1.28.0

- old
+ new

@@ -13,9 +13,13 @@ spec_helper_glob = File.expand_path('{support,shared}/*.rb', __dir__) Dir.glob(spec_helper_glob).map(&method(:require)) RSpec.configure do |config| + config.define_derived_metadata(file_path: %r{/spec/rubocop/cop/}) do |meta| + meta[:type] = :cop_spec + end + config.order = :random config.expect_with :rspec do |expectations| expectations.syntax = :expect # Disable `should` end