Skip to content
Snippets Groups Projects
Commit 5af3d5fa authored by maxwell's avatar maxwell
Browse files

double checking that matches are in front or back

parent 6720fa2c
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment