test/user_test.rb in diaspora-vines-0.1.21 vs test/user_test.rb in diaspora-vines-0.1.22
- old
+ new
@@ -75,11 +75,16 @@
describe '#to_roster_xml' do
let(:expected) do
node(%q{
<iq id="42" type="result">
<query xmlns="jabber:iq:roster">
- <item jid="a@wonderland.lit" name="Contact 1" subscription="none"><group>A</group><group>B</group></item>
- <item jid="b@wonderland.lit" name="Contact 2" subscription="none"><group>C</group></item>
+ <item jid="a@wonderland.lit" name="Contact 1" subscription="none" from_diaspora="false">
+ <group>A</group>
+ <group>B</group>
+ </item>
+ <item jid="b@wonderland.lit" name="Contact 2" subscription="none" from_diaspora="false">
+ <group>C</group>
+ </item>
</query>
</iq>
})
end