summaryrefslogtreecommitdiff
path: root/users/test/unit/webfinger
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-24 11:38:11 -0800
committerjessib <jessib@leap.se>2013-01-24 11:38:11 -0800
commit9d053b6c9b61c68bf11f95bcb37631a518f1fba4 (patch)
treeee8bb58c003f2f61c391b0ac2ca26fee4f868ca4 /users/test/unit/webfinger
parentc7de46aba95085baaba3775671a47182d781221a (diff)
Removing aliases from webfinger as the link wouldn't work anyway, and don't want to leak ID information.
Diffstat (limited to 'users/test/unit/webfinger')
-rw-r--r--users/test/unit/webfinger/user_presenter_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/unit/webfinger/user_presenter_test.rb b/users/test/unit/webfinger/user_presenter_test.rb
index 7f7a0d4..04aeb22 100644
--- a/users/test/unit/webfinger/user_presenter_test.rb
+++ b/users/test/unit/webfinger/user_presenter_test.rb
@@ -39,7 +39,7 @@ class Webfinger::UserPresenterTest < ActiveSupport::TestCase
@user.stubs :public_key => "here's a key"
presenter = Webfinger::UserPresenter.new(@user, @request)
hash = JSON.parse presenter.to_json
- assert_equal ["subject", "links", "aliases"].sort, hash.keys.sort
+ assert_equal ["subject", "links"].sort, hash.keys.sort
hash.each do |key, value|
assert_equal presenter.send(key.to_sym).to_json, value.to_json
end