From 57505b08120aa49e62112a7c4c1004112030bda9 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 7 May 2020 20:19:00 +0200 Subject: [PATCH] Add hex color spec for pure blue --- spec/helpers/theme_helper_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/helpers/theme_helper_spec.rb b/spec/helpers/theme_helper_spec.rb index 5db03987..84467a90 100644 --- a/spec/helpers/theme_helper_spec.rb +++ b/spec/helpers/theme_helper_spec.rb @@ -39,6 +39,10 @@ describe ThemeHelper, :type => :helper do it "returns the proper hex value from the decimal value for purple" do expect(helper.get_hex_color_from_theme_value(6174129)).to eq("5e35b1") end + + it "returns the proper hex value from the decimal value for blue" do + expect(helper.get_hex_color_from_theme_value(255)).to eq("0000ff") + end end describe "#get_decimal_triplet_from_hex" do