mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 12:36:04 +01:00
Add hex color spec for pure blue
This commit is contained in:
parent
f11431279d
commit
57505b0812
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ describe ThemeHelper, :type => :helper do
|
||||||
it "returns the proper hex value from the decimal value for purple" 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")
|
expect(helper.get_hex_color_from_theme_value(6174129)).to eq("5e35b1")
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
describe "#get_decimal_triplet_from_hex" do
|
describe "#get_decimal_triplet_from_hex" do
|
||||||
|
|
Loading…
Reference in a new issue