Add page for authorizing/rejecting follow requests
This commit is contained in:
parent
3c841c7306
commit
b302b9202b
14 changed files with 99 additions and 10 deletions
16
spec/controllers/follow_requests_controller_spec.rb
Normal file
16
spec/controllers/follow_requests_controller_spec.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FollowRequestsController, type: :controller do
|
||||
render_views
|
||||
|
||||
before do
|
||||
sign_in Fabricate(:user), scope: :user
|
||||
end
|
||||
|
||||
describe 'GET #index' do
|
||||
it 'returns http success' do
|
||||
get :index
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue