spec/spec_helper.rb in mem-0.1.5 vs spec/spec_helper.rb in mem-0.2.0
- old
+ new
@@ -1,8 +1,13 @@
-$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
-require "mem"
+# frozen_string_literal: true
+require 'mem'
+
RSpec.configure do |config|
- config.treat_symbols_as_metadata_keys_with_true_values = true
- config.run_all_when_everything_filtered = true
- config.filter_run :focus
+ config.disable_monkey_patching!
+
+ config.expect_with :rspec do |c|
+ c.syntax = :expect
+ end
+
+ config.filter_run_when_matching :focus
end