Missing args

This commit is contained in:
Michael Miller 2019-11-17 09:42:19 -07:00
parent ac9b3ad1fe
commit 45fe6217b4
2 changed files with 6 additions and 6 deletions

View file

@ -52,15 +52,15 @@ module Spectator::Matchers
end
def exactly(count)
Count.new(@expected, (count..count))
Count.new(@expected, @args, (count..count))
end
def at_least(count)
Count.new(@expected, (count..))
Count.new(@expected, @args, (count..))
end
def at_most(count)
Count.new(@expected, (..count))
Count.new(@expected, @args, (..count))
end
def at_least_once

View file

@ -52,15 +52,15 @@ module Spectator::Matchers
end
def exactly(count)
Count.new(@expected, (count..count))
Count.new(@expected, @args, (count..count))
end
def at_least(count)
Count.new(@expected, (count..))
Count.new(@expected, @args, (count..))
end
def at_most(count)
Count.new(@expected, (..count))
Count.new(@expected, @args, (..count))
end
def at_least_once