1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 14:28:24 +09:00
mastodon/spec/requests/following_accounts_spec.rb
2023-04-30 09:01:42 +02:00

14 lines
306 B
Ruby

# 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