about summary refs log tree commit diff
path: root/spec/controllers/follower_accounts_controller_spec.rb
blob: f2082f601f09589b87e9679401d7b6527ed64b92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rails_helper'

describe FollowerAccountsController do
  render_views

  let(:alice) { Fabricate(:account, username: 'alice') }

  describe 'GET #index' do
    it 'returns http success' do
      get :index, params: { account_username: alice.username }

      expect(response).to have_http_status(:success)
    end
  end
end