Skip to content
Extraits de code Groupes Projets
Valider 5af3d5fa rédigé par maxwell's avatar maxwell
Parcourir les fichiers

double checking that matches are in front or back

parent 6720fa2c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -198,9 +198,9 @@ describe Person do
it 'should return nil if there is not an exact match' do
Redfinger.stub!(:finger).and_return(nil)
Person.stub!(:from_webfinger_profile).and_return(false)
person = Factory(:person, :diaspora_handle => "tomtom@tom.joindiaspora.com")
person1 = Factory(:person, :diaspora_handle => "tom@tom.joindiaspora.comm")
#Person.by_webfinger("tom@tom.joindiaspora.com").should_be false
proc{ Person.by_webfinger("tom@tom.joindiaspora.com")}.should raise_error
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