Replaced hardcoded '@example.com' with APP_CONFIG[:terse_pod_url]

This commit is contained in:
michael.scheffler 2010-09-27 19:18:36 +08:00 committed by Raphael Sofaer
parent 6b9bcfda63
commit 2c55e70067

View file

@ -16,7 +16,7 @@ describe Person do
describe '#diaspora_handle' do describe '#diaspora_handle' do
context 'local people' do context 'local people' do
it 'uses the pod config url to set the diaspora_handle' do it 'uses the pod config url to set the diaspora_handle' do
@user.person.diaspora_handle.should == @user.username + "@example.org" @user.person.diaspora_handle.should == @user.username + "@" + APP_CONFIG[:terse_pod_url]
end end
end end