spec/lib/babelyoda/tanker_spec.rb in babelyoda-2.1.17 vs spec/lib/babelyoda/tanker_spec.rb in babelyoda-2.1.18

- old
+ new

@@ -21,13 +21,13 @@ builder.to_xml.should == '<?xml version="1.0"?>' + "\n" + '<value language="en" status="requires_translation">' + "\n" + ' <plural>' + "\n" + ' <one>some plural %u translation</one>' + "\n" + - ' <some></some>' + "\n" + - ' <many></many>' + "\n" + - ' <none></none>' + "\n" + + ' <some/>' + "\n" + + ' <many/>' + "\n" + + ' <none/>' + "\n" + ' </plural>' + "\n" + '</value>' + "\n" end it "should serialize non-plural keys" do @@ -68,11 +68,11 @@ <context>Some context</context> <value language="en" status="requires_translation"> <plural> <one>Some translation for one</one> <some>Some translation for some</some> - <many></many> - <none></none> + <many/> + <none/> </plural> </value> </key> EOF end