spec/unit/render/attributes/array_attribute_spec.rb in render-0.0.6 vs spec/unit/render/attributes/array_attribute_spec.rb in render-0.0.7
- old
+ new
@@ -19,10 +19,10 @@
end
describe "archetype" do
it "returns only a value" do
id = UUID.generate
- attribute = ArrayAttribute.new({ items: { format: UUID } })
+ attribute = ArrayAttribute.new({ items: { type: UUID } })
attribute.serialize([id]).should == [id]
end
end
describe "#faux_data" do