Commit Graph

6 Commits (d4de2239b0ab04bf6a42db9f28d1fdd8e45f7d8b)

Author SHA1 Message Date
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService ()
The service used to be named ResolveRemoteAccountService resolves local
accounts as well.
STJrInuyasha 7a889a8e12 Remote following success page ()
* Added a success page to remote following
Includes follow-through links to web (the old redirect target) and back to the remote user's profile

* Use Account.new in spec instead of a fake with only id
(fixes spec)

* Fabricate(:account) over Account.new

* Remove self from the success text
(and all HTML with it)
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService ()
Rename Activitypub to ActivityPub
Akihiko Odaki 1d3e0a5060 Spec AuthorizeFollowsController assigns @account ()
@account is used by the view.
Matt Jankowski 9566893cc9 More controller specs ()
* Add render_views in more places

* Delegate methods from account to user with allow nil true, so that admin accounts show view renders when missing a user

* Use actual account instances in authorize follow controller spec
Matt Jankowski 0618f09939 Add spec coverage and refactor authorize_follows controller ()