spec/spec_helper.rb in r10k-2.3.1 vs spec/spec_helper.rb in r10k-2.4.0
- old
+ new
@@ -21,9 +21,12 @@
require 'shared-contexts/git-fixtures'
require 'matchers/exit_with'
require 'matchers/match_realpath'
require 'r10k-mocks'
+# Add a negated version of the change matcher.
+RSpec::Matchers.define_negated_matcher :not_change, :change
+
RSpec.configure do |config|
config.before(:all) do
Log4r::Logger.global.level = Log4r::OFF
end
end