Add hex color spec for pure blue

This commit is contained in:
Andreas Nedbal 2020-05-07 20:19:00 +02:00
parent f11431279d
commit 57505b0812
1 changed files with 4 additions and 0 deletions

View File

@ -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