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

describe FollowingAccountsController 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