mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 19:33:44 +01:00
14 lines
304 B
Ruby
14 lines
304 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe 'FollowerAccountsController' do
|
||
|
describe 'The follower_accounts route' do
|
||
|
it "returns a http 'moved_permanently' code" do
|
||
|
get '/users/:username/followers'
|
||
|
|
||
|
expect(response).to have_http_status(301)
|
||
|
end
|
||
|
end
|
||
|
end
|