Skip to content
Extraits de code Groupes Projets
Valider 9750684e rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Maybe because diasporaparser was moved out to a different file?

parent 1e954eae
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -74,7 +74,7 @@ describe 'user encryption' do ...@@ -74,7 +74,7 @@ describe 'user encryption' do
xml = Request.build_xml_for [request] xml = Request.build_xml_for [request]
person.destroy person.destroy
personcount = Person.all.count personcount = Person.all.count
store_objects_from_xml(xml) Diaspora::DiasporaParser.store_objects_from_xml(xml)
Person.all.count.should == personcount + 1 Person.all.count.should == personcount + 1
new_person = Person.first(:url => "http://test.url/") new_person = Person.first(:url => "http://test.url/")
new_person.key_fingerprint.nil?.should == false new_person.key_fingerprint.nil?.should == false
...@@ -135,7 +135,7 @@ describe 'user encryption' do ...@@ -135,7 +135,7 @@ describe 'user encryption' do
xml = Post.build_xml_for([message]) xml = Post.build_xml_for([message])
message.destroy message.destroy
Post.count.should be 0 Post.count.should be 0
store_objects_from_xml(xml) Diaspora::DiasporaParser.store_objects_from_xml(xml)
Post.count.should be 0 Post.count.should be 0
end end
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter