]> cat aescling's git repositories - mastodon.git/commit
Spec coverage and refactor for the api/v1/accounts controllers (#3451)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Wed, 31 May 2017 19:36:24 +0000 (15:36 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 31 May 2017 19:36:24 +0000 (21:36 +0200)
commit5c6352397257d82e75b90cc5e7de1a3922bde7bd
tree38d617da023ed80e36d1255f8190b22b4a624c75
parentde4681b2be0b0efa1dede092445a53d4a593c140
Spec coverage and refactor for the api/v1/accounts controllers (#3451)
18 files changed:
app/controllers/api/v1/accounts/credentials_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts/follower_accounts_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts/following_accounts_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts/relationships_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts/search_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts/statuses_controller.rb [new file with mode: 0644]
app/controllers/api/v1/accounts_controller.rb
app/views/api/v1/accounts/relationships/index.rabl [moved from app/views/api/v1/accounts/relationships.rabl with 100% similarity]
app/views/api/v1/accounts/statuses/index.rabl [moved from app/views/api/v1/accounts/statuses.rabl with 100% similarity]
config/routes.rb
spec/controllers/api/v1/accounts/credentials_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/follower_accounts_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/following_accounts_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/relationships_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/search_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/statuses_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts_controller_spec.rb
spec/routing/api_routing_spec.rb