diff --git a/exercises/practice/palindrome-products/palindrome_products_test.rb b/exercises/practice/palindrome-products/palindrome_products_test.rb index c99ac6fadc..7604c7d37a 100644 --- a/exercises/practice/palindrome-products/palindrome_products_test.rb +++ b/exercises/practice/palindrome-products/palindrome_products_test.rb @@ -106,7 +106,7 @@ def test_error_for_largest_if_min_more_than_max error = assert_raises(ArgumentError) do palindromes = Palindromes.new(min_factor: 2, max_factor: 1) palindromes.generate - palindromes.smallest + palindromes.largest end assert_equal "min must be <= max", error.message end