mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-20 01:31:38 +09:00
6e50134a42
* Add trending links * Add overriding specific links trendability * Add link type to preview cards and only trend articles Change trends review notifications from being sent every 5 minutes to being sent every 2 hours Change threshold from 5 unique accounts to 15 unique accounts * Fix tests
24 lines
413 B
Ruby
24 lines
413 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe Admin::TagsController, type: :controller do
|
|
render_views
|
|
|
|
before do
|
|
sign_in Fabricate(:user, admin: true)
|
|
end
|
|
|
|
describe 'GET #show' do
|
|
let!(:tag) { Fabricate(:tag) }
|
|
|
|
before do
|
|
get :show, params: { id: tag.id }
|
|
end
|
|
|
|
it 'returns status 200' do
|
|
expect(response).to have_http_status(200)
|
|
end
|
|
end
|
|
end
|