test/xml_representer_test.rb in roar-0.12.4 vs test/xml_representer_test.rb in roar-0.12.5

- old
+ new

@@ -151,10 +151,10 @@ include AttributesConstructor include Roar::Representer::XML self.representation_wrap= :order property :id - collection :items, :class => ItemRepresenter, :from => :item + collection :items, :class => ItemRepresenter, :as => :item attr_accessor :id, :items end @r = @c.new("id" => 1) end