Commit Graph

4 Commits (1bc077dc740fcaa284588fff43e71da659090980)

Author SHA1 Message Date
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status ()
Jack Jennings 3a2003ba86 Extract authorization policy for viewing statuses ()
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 cc1361c149 Media controller specs ()
* Add spec for media controller

* Add MediaAttachment.attached scope

* Simplify methods in media controller