lists_constant 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -47,6 +47,7 @@ describe ListsConstant::Lookups::Class do
|
|
47
47
|
it "localizes passed values" do
|
48
48
|
assert_equal Lister.localized_color(:red), @translations[:red]
|
49
49
|
assert_equal Lister.localized_color('blue'), @translations[:blue]
|
50
|
+
assert_equal Lister.localized_color(:magenta), nil
|
50
51
|
end
|
51
52
|
|
52
53
|
it "generates an inverted hash for option helpers" do
|