mirror of https://github.com/mastodon/mastodon
Adds new follower/following routes (#24601)
parent
0669822ae8
commit
8f6e290c7a
@ -0,0 +1,13 @@
|
||||
# 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
|
@ -0,0 +1,13 @@
|
||||
# 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
|
Loading…
Reference in New Issue