diff options
author | Azul <azul@leap.se> | 2013-01-23 13:13:41 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-23 13:13:41 +0100 |
commit | 30f406de954bac1da5fef7cdd753c0af16f11051 (patch) | |
tree | d22dab24afa09e3949d0babcaa2d773ee03c1827 /users/lib/webfinger/host_meta_presenter.rb | |
parent | b530279a144ad5fb35070952898c8e6ae3ba68ea (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.rb | 2 |
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: { |