spec/extensions/mocha.rb in prawn-1.0.0.rc1 vs spec/extensions/mocha.rb in prawn-1.0.0.rc2

- old
+ new

@@ -9,9 +9,10 @@ # does; in the above example, the outer expectation would only fail if # stroke_line were not called. class ParameterChecker < Mocha::ParametersMatcher def initialize(&matching_block) + @expected_parameters = [Mocha::ParameterMatchers::AnyParameters.new] @matching_block = matching_block end def match?(actual_parameters = []) @matching_block.call(*actual_parameters)