diff options
Diffstat (limited to 'spec/controllers/api')
-rw-r--r-- | spec/controllers/api/accounts_controller_spec.rb | 22 | ||||
-rw-r--r-- | spec/controllers/api/follows_controller_spec.rb | 4 | ||||
-rw-r--r-- | spec/controllers/api/statuses_controller_spec.rb | 22 |
3 files changed, 47 insertions, 1 deletions
diff --git a/spec/controllers/api/accounts_controller_spec.rb b/spec/controllers/api/accounts_controller_spec.rb index b409611ce..915a40a8a 100644 --- a/spec/controllers/api/accounts_controller_spec.rb +++ b/spec/controllers/api/accounts_controller_spec.rb @@ -1,5 +1,27 @@ require 'rails_helper' RSpec.describe Api::AccountsController, type: :controller do + describe 'GET #show' do + it 'returns http success' + end + describe 'GET #statuses' do + it 'returns http success' + end + + describe 'GET #followers' do + it 'returns http success' + end + + describe 'GET #following' do + it 'returns http success' + end + + describe 'POST #follow' do + it 'returns http success' + end + + describe 'POST #unfollow' do + it 'returns http success' + end end diff --git a/spec/controllers/api/follows_controller_spec.rb b/spec/controllers/api/follows_controller_spec.rb index ba3f046dd..75f470181 100644 --- a/spec/controllers/api/follows_controller_spec.rb +++ b/spec/controllers/api/follows_controller_spec.rb @@ -1,5 +1,7 @@ require 'rails_helper' RSpec.describe Api::FollowsController, type: :controller do - + describe 'POST #create' do + it 'returns http success' + end end diff --git a/spec/controllers/api/statuses_controller_spec.rb b/spec/controllers/api/statuses_controller_spec.rb index bf84857bd..bd136a559 100644 --- a/spec/controllers/api/statuses_controller_spec.rb +++ b/spec/controllers/api/statuses_controller_spec.rb @@ -1,5 +1,27 @@ require 'rails_helper' RSpec.describe Api::StatusesController, type: :controller do + describe 'GET #show' do + it 'returns http success' + end + describe 'GET #home' do + it 'returns http success' + end + + describe 'GET #mentions' do + it 'returns http success' + end + + describe 'POST #create' do + it 'returns http success' + end + + describe 'POST #reblog' do + it 'returns http success' + end + + describe 'POST #favourite' do + it 'returns http success' + end end |