Adding more test stubs
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe Api::FollowsController, type: :controller do | ||||
|  | ||||
|   describe 'POST #create' do | ||||
|     it 'returns http success' | ||||
|   end | ||||
| end | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -111,4 +111,16 @@ RSpec.describe Account, type: :model do | ||||
|   describe '#ping!' do | ||||
|     pending | ||||
|   end | ||||
|  | ||||
|   describe '#favourited?' do | ||||
|     pending | ||||
|   end | ||||
|  | ||||
|   describe '#reblogged?' do | ||||
|     pending | ||||
|   end | ||||
|  | ||||
|   describe '.find_local' do | ||||
|     pending | ||||
|   end | ||||
| end | ||||
|   | ||||
							
								
								
									
										7
									
								
								spec/models/feed_spec.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								spec/models/feed_spec.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe Feed, type: :model do | ||||
|   describe '#get' do | ||||
|     pending | ||||
|   end | ||||
| end | ||||
| @@ -114,4 +114,12 @@ RSpec.describe Status, type: :model do | ||||
|       expect(subject.target).to eq other | ||||
|     end | ||||
|   end | ||||
|  | ||||
|   describe '#reblogs_count' do | ||||
|     pending | ||||
|   end | ||||
|  | ||||
|   describe '#favourites_count' do | ||||
|     pending | ||||
|   end | ||||
| end | ||||
|   | ||||
							
								
								
									
										5
									
								
								spec/services/fan_out_on_write_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								spec/services/fan_out_on_write_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe FanOutOnWriteService do | ||||
|   subject { FanOutOnWriteService.new } | ||||
| end | ||||
							
								
								
									
										5
									
								
								spec/services/favourite_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								spec/services/favourite_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe FavouriteService do | ||||
|   subject { FavouriteService.new } | ||||
| end | ||||
							
								
								
									
										5
									
								
								spec/services/precompute_feed_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								spec/services/precompute_feed_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe PrecomputeFeedService do | ||||
|   subject { PrecomputeFeedService.new } | ||||
| end | ||||
| @@ -1,8 +0,0 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe SetupLocalAccountService do | ||||
|   subject { SetupLocalAccountService.new } | ||||
|  | ||||
|   it 'creates a user' | ||||
|   it 'creates an account for the user' | ||||
| end | ||||
							
								
								
									
										5
									
								
								spec/services/update_remote_profile_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								spec/services/update_remote_profile_service_spec.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| require 'rails_helper' | ||||
|  | ||||
| RSpec.describe UpdateRemoteProfileService do | ||||
|   subject { UpdateRemoteProfileService.new } | ||||
| end | ||||
		Reference in New Issue
	
	Block a user