Tahi-project/tahi — pull request #538 by Bestra (2014-10-28 12:03:58+00:00)
Title: Other policy cleanup

* Move more policy spec assertions into shared examples
* `TaskAccessCriteria` has two methods, `authorized_to_modify_task?` and `authorized_to_create_task?` that do all the actual authorization work in any policy that includes it.
* Avoid using `create(:paper, :with_tasks)` because it's slow.
* Avoid making a user a `:site_admin` for now reason.