about summary refs log tree commit diff
path: root/spec/controllers/follower_accounts_controller_spec.rb
blob: 82d2b2067c50654273e02e60281b5d0bbc1aa5b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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