This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe 'FollowingAccountsController' do
|
|
describe 'The following_accounts route' do
|
|
it "returns a http 'moved_permanently' code" do
|
|
get '/users/:username/following'
|
|
|
|
expect(response).to have_http_status(301)
|
|
end
|
|
end
|
|
end
|