test/unit/helpers/smurf/styleguide_helper_test.rb in smurfville-0.0.6 vs test/unit/helpers/smurf/styleguide_helper_test.rb in smurfville-0.1.0

- old
+ new

@@ -4,20 +4,20 @@ module Smurfville class StyleguideHelperTest < ActionView::TestCase test 'foreground_color' do # dark colors - assert_equal "white", foreground_color("red") assert_equal "white", foreground_color("#012123") assert_equal "white", foreground_color("#000") # bright colors assert_equal "black", foreground_color("#efefef") assert_equal "black", foreground_color("white") + assert_equal "black", foreground_color("red") # non-colors # => black = default - assert_equal "black", foreground_color("türkis") + assert_equal "black", foreground_color("schmuddelgelb") assert_equal "black", foreground_color(nil) end end end