lib/remarkable/matchers.rb in remarkable-3.0.9 vs lib/remarkable/matchers.rb in remarkable-3.0.10

- old
+ new

@@ -7,11 +7,12 @@ # Helper that includes required Remarkable modules into the given klass. # # If the module to be included responds to :after_include, it's called with the # target as argument. # - def self.include_matchers!(base, target) - target.send :extend, Remarkable::Macros + def self.include_matchers!(base, target) + target.send :extend, Remarkable::Pending + target.send :extend, Remarkable::Macros if defined?(base::Matchers) target.send :include, base::Matchers Remarkable::Matchers.send :extend, base::Matchers