diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 12:13:47 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 12:13:47 +0100 |
commit | d4892ace62cd5d73d7e4958bf98fe37244811c7f (patch) | |
tree | b80c1f506d6a27f1909ba665d02d421d50729c67 /spec/controllers | |
parent | 66a2107527485f01f54f0899fcb913f05053cd0e (diff) |
Adding more test stubs
Diffstat (limited to 'spec/controllers')
4 files changed, 53 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 diff --git a/spec/controllers/oauth/applications_controller_spec.rb b/spec/controllers/oauth/applications_controller_spec.rb index 7f2ca8cd9..350d5d521 100644 --- a/spec/controllers/oauth/applications_controller_spec.rb +++ b/spec/controllers/oauth/applications_controller_spec.rb @@ -1,5 +1,11 @@ require 'rails_helper' RSpec.describe Oauth::ApplicationsController, type: :controller do + describe 'GET #index' do + it 'returns http success' + end + describe 'POST #create' do + it 'redirects to the application page' + end end |