about summary refs log tree commit diff
path: root/spec/controllers/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-19 12:13:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-19 12:13:47 +0100
commitd4892ace62cd5d73d7e4958bf98fe37244811c7f (patch)
treeb80c1f506d6a27f1909ba665d02d421d50729c67 /spec/controllers/api
parent66a2107527485f01f54f0899fcb913f05053cd0e (diff)
Adding more test stubs
Diffstat (limited to 'spec/controllers/api')
-rw-r--r--spec/controllers/api/accounts_controller_spec.rb22
-rw-r--r--spec/controllers/api/follows_controller_spec.rb4
-rw-r--r--spec/controllers/api/statuses_controller_spec.rb22
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