fix person spec

This commit is contained in:
Maxwell Salzberg 2012-01-17 22:10:03 -08:00
parent bfde0514bf
commit 392e317962

View file

@ -130,7 +130,7 @@ describe Person do
context 'local people' do
it 'uses the pod config url to set the diaspora_handle' do
new_person = User.build(:username => "foo123", :email => "foo123@example.com", :password => "password", :password_confirmation => "password").person
new_person.diaspora_handle.should == "foo123@#{AppConfig[:pod_uri].authority}"
new_person.diaspora_handle.should == "foo123#{User.diaspora_id_host}"
end
it 'does not include www if it is set in app config' do