test/entity_test.rb in ruby-xcdm-0.0.2 vs test/entity_test.rb in ruby-xcdm-0.0.3
- old
+ new
@@ -96,10 +96,10 @@
"Author", inverseName: "primary_articles", inverseEntity: "Author" }], e.relationships
end
def test_to_xml
expected = REXML::Document.new %{
-<entity name="Article" syncable="YES">
+<entity name="Article" representedClassName="Article" syncable="YES">
<attribute name="body" optional="NO" attributeType="String" syncable="YES"/>
<attribute name="length" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
<attribute name="published" optional="YES" attributeType="Boolean" defaultValueString="NO" syncable="YES"/>
<attribute name="publishedAt" optional="YES" attributeType="Date" defaultValueString="NO" syncable="YES"/>
<attribute name="title" optional="NO" attributeType="String" syncable="YES"/>