test/hash_key.rb in ohm-1.2.0 vs test/hash_key.rb in ohm-1.3.0
- old
+ new
@@ -25,5 +25,9 @@
hash = { tag => "Ruby" }
tag = Tag[tag.id]
assert "Ruby" == hash[tag]
end
+
+test "on attributes class method" do
+ assert [:name] == Tag.attributes
+end