From 5c6352397257d82e75b90cc5e7de1a3922bde7bd Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 31 May 2017 15:36:24 -0400 Subject: Spec coverage and refactor for the api/v1/accounts controllers (#3451) --- app/views/api/v1/accounts/relationships.rabl | 2 -- app/views/api/v1/accounts/relationships/index.rabl | 2 ++ app/views/api/v1/accounts/statuses.rabl | 2 -- app/views/api/v1/accounts/statuses/index.rabl | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 app/views/api/v1/accounts/relationships.rabl create mode 100644 app/views/api/v1/accounts/relationships/index.rabl delete mode 100644 app/views/api/v1/accounts/statuses.rabl create mode 100644 app/views/api/v1/accounts/statuses/index.rabl (limited to 'app/views') diff --git a/app/views/api/v1/accounts/relationships.rabl b/app/views/api/v1/accounts/relationships.rabl deleted file mode 100644 index 022ea2ac4..000000000 --- a/app/views/api/v1/accounts/relationships.rabl +++ /dev/null @@ -1,2 +0,0 @@ -collection @accounts -extends 'api/v1/accounts/relationship' diff --git a/app/views/api/v1/accounts/relationships/index.rabl b/app/views/api/v1/accounts/relationships/index.rabl new file mode 100644 index 000000000..022ea2ac4 --- /dev/null +++ b/app/views/api/v1/accounts/relationships/index.rabl @@ -0,0 +1,2 @@ +collection @accounts +extends 'api/v1/accounts/relationship' diff --git a/app/views/api/v1/accounts/statuses.rabl b/app/views/api/v1/accounts/statuses.rabl deleted file mode 100644 index 44d29d91b..000000000 --- a/app/views/api/v1/accounts/statuses.rabl +++ /dev/null @@ -1,2 +0,0 @@ -collection @statuses -extends 'api/v1/statuses/show' diff --git a/app/views/api/v1/accounts/statuses/index.rabl b/app/views/api/v1/accounts/statuses/index.rabl new file mode 100644 index 000000000..44d29d91b --- /dev/null +++ b/app/views/api/v1/accounts/statuses/index.rabl @@ -0,0 +1,2 @@ +collection @statuses +extends 'api/v1/statuses/show' -- cgit