Commit 7a4384b982786d489fe0347dee9bfe15c4b4a96e
1 parent
8e83a7e3
Exists in
master
and in
2 other branches
Test more methods [skip ci]
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
test/results_test.rb
... | ... | @@ -9,6 +9,9 @@ class ResultsTest < Minitest::Test |
9 | 9 | assert_equal 2, products.length |
10 | 10 | assert products.any? |
11 | 11 | refute products.empty? |
12 | + refute products.none? | |
13 | + refute products.one? | |
14 | + assert products.many? | |
12 | 15 | assert_kind_of Product, products[0] |
13 | 16 | assert_kind_of Array, products.slice(0, 1) |
14 | 17 | assert_kind_of Array, products.to_ary | ... | ... |