lib/ezlog/rspec/matchers.rb in ezlog-0.9.6 vs lib/ezlog/rspec/matchers.rb in ezlog-0.10.0
- old
+ new
@@ -53,5 +53,7 @@
log_output_is_expected.not_to include_log_message(expected)
operation.call
log_output_is_expected.to include_log_message(expected).at_level(log_level)
end
end
+
+RSpec::Matchers.define_negated_matcher :not_log, :log
\ No newline at end of file