From 8a54ce57a53beccc278933230723cd4abfc5160f Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Wed, 1 Apr 2015 10:15:10 -0700 Subject: [PATCH] Drop threshold back down to a passing 10 --- test/test_color_threshold.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_color_threshold.rb b/test/test_color_threshold.rb index 9d1faaab..48c1205f 100644 --- a/test/test_color_threshold.rb +++ b/test/test_color_threshold.rb @@ -5,7 +5,7 @@ class TestColorThreshold < Minitest::Test def test_color_threshold langs_with_colors = Language.all.reject { |language| language.color.nil? } - cp = ColorProximity.new(20, langs_with_colors.map(&:color)) + cp = ColorProximity.new(10, langs_with_colors.map(&:color)) failing_threshold = [] langs_with_colors.each do |lang| state = cp.within_threshold?(lang.color[1..-1])