summaryrefslogtreecommitdiff
path: root/users/lib/webfinger/host_meta_presenter.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-23 13:13:41 +0100
committerAzul <azul@leap.se>2013-01-23 13:13:41 +0100
commit30f406de954bac1da5fef7cdd753c0af16f11051 (patch)
treed22dab24afa09e3949d0babcaa2d773ee03c1827 /users/lib/webfinger/host_meta_presenter.rb
parentb530279a144ad5fb35070952898c8e6ae3ba68ea (diff)
added unit tests for user presenter
changed the way the presenter works. Will need functional testing
Diffstat (limited to 'users/lib/webfinger/host_meta_presenter.rb')
-rw-r--r--users/lib/webfinger/host_meta_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/lib/webfinger/host_meta_presenter.rb b/users/lib/webfinger/host_meta_presenter.rb
index b48729c..6a6235f 100644
--- a/users/lib/webfinger/host_meta_presenter.rb
+++ b/users/lib/webfinger/host_meta_presenter.rb
@@ -15,7 +15,7 @@ class Webfinger::HostMetaPresenter
"#{subject}/#{path}?#{query_param}={uri}"
end
- def to_json(options)
+ def to_json(options = {})
{
subject: subject,
links: {