]> cat aescling's git repositories - mastodon.git/commit
Add specs for activitypub collections controller (#9484)
authorysksn <bluewhale1982@gmail.com>
Mon, 10 Dec 2018 20:39:25 +0000 (05:39 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 10 Dec 2018 20:39:25 +0000 (21:39 +0100)
commited24bb2c3ecf82521be0685f59ecdee77c6fff39
treeead339c95532646913403030f1110e7496358bd7
parent6eae8f77afd60d40c62d4c2f7e5731607f6f6163
Add specs for activitypub collections controller (#9484)

* Add specs for ActivityPub::CollectionsController#show

* Raise ActiveRecord::RecordNotFound

Raising ActiveRecord::NotFound raises NameError: uninitialized constant
ActiveRecord::NotFound.
app/controllers/activitypub/collections_controller.rb
spec/controllers/activitypub/collections_controller_spec.rb [new file with mode: 0644]