spec/matchers/contain_matcher.rb in remarkable-3.0.8 vs spec/matchers/contain_matcher.rb in remarkable-3.0.9

- old
+ new

@@ -21,11 +21,11 @@ @expectation = "#{@value} is included in #{@subject.inspect}" false end end - def contain(*args) - ContainMatcher.new(*args).spec(self) + def contain(*args, &block) + ContainMatcher.new(*args, &block).spec(self) end end end end