about summary refs log tree commit diff
path: root/spec/controllers/remote_follow_controller_spec.rb
blob: 1c9e6a4b6675deb140b1cfc92637bab1e16f1aff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

require 'rails_helper'

describe RemoteFollowController do
  render_views

  describe '#new' do
    it 'returns a success' do
      account = Fabricate(:account)
      get :new, params: { account_username: account.to_param }

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