1
0

follower_accounts_spec.rb 304 B

12345678910111213
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe 'FollowerAccountsController' do
  4. describe 'The follower_accounts route' do
  5. it "returns a http 'moved_permanently' code" do
  6. get '/users/:username/followers'
  7. expect(response).to have_http_status(301)
  8. end
  9. end
  10. end