We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ffa826 commit 0a7890eCopy full SHA for 0a7890e
test/unit/cardinality_test.rb
@@ -14,7 +14,7 @@ def new_invocation
14
end
15
16
def test_should_allow_invocations_if_invocation_count_has_not_yet_reached_maximum
17
- cardinality = Cardinality.new(2, 3)
+ cardinality = Cardinality.new.range(2, 3)
18
assert cardinality.invocations_allowed?
19
cardinality << new_invocation
20
@@ -32,7 +32,7 @@ def test_should_never_allow_invocations
32
33
34
def test_should_be_satisfied_if_invocations_so_far_have_reached_required_threshold
35
36
assert !cardinality.satisfied?
37
38
0 commit comments