Build test diaspora_handle properly.
This commit is contained in:
parent
a1b92f5224
commit
215d6a8504
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ Factory.define :user do |u|
|
|||
user.person = Factory.build(:person, :profile => Factory.create(:profile),
|
||||
:owner_id => user._id,
|
||||
:serialized_public_key => user.encryption_key.public_key.export,
|
||||
:diaspora_handle => "#{user.username}@#{AppConfig[:pod_url].gsub(/(https?:|www\.)\/\//, '').chop!}")
|
||||
:diaspora_handle => "#{user.username}@#{AppConfig[:pod_uri].host}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue