lib/muack/modifier.rb in muack-0.5.0 vs lib/muack/modifier.rb in muack-0.5.1
- old
+ new
@@ -12,10 +12,10 @@
# Public API
def times number
if number >= 1
(number - 1).times{ mock.__mock_defis_push(defi) }
elsif number == 0
- mock.__mock_ignore(mock.__mock_defis_pop(defi))
+ mock.__mock_defis_pop(defi)
else
raise "What would you expect from calling a method #{number} times?"
end
self
end