diff --git a/test/rainbow_test.rb b/test/rainbow_test.rb index c5ffb2e..8f70e2b 100644 --- a/test/rainbow_test.rb +++ b/test/rainbow_test.rb @@ -225,13 +225,13 @@ def test_by_hex_min_with_sharp ### RGB color - def test_to_few_colors + def test_too_few_colors assert_raises ArgumentError do AnsiColor.new(:foreground, 255, 0).code end end - def test_to_much_colors + def test_too_much_colors assert_raises ArgumentError do AnsiColor.new(:foreground, 255, 0, 0, 0).code end