test/utils_test.rb in picasa-0.6.1 vs test/utils_test.rb in picasa-0.6.2

- old
+ new

@@ -41,9 +41,15 @@ hash = {nil => "value"} assert_nil Picasa::Utils.safe_retrieve(hash) end end + describe "#array_wrap" do + it "wraps hash into array" do + assert_equal [{:wt => :f}], Picasa::Utils.array_wrap({:wt => :f}) + end + end + describe "#map_to_integer" do it "does not convert nil value" do assert_nil Picasa::Utils.map_to_integer(nil) end