]> cat aescling's git repositories - mastodon.git/blob - spec/controllers/api/v1/custom_emojis_controller_spec.rb
New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
[mastodon.git] / spec / controllers / api / v1 / custom_emojis_controller_spec.rb
1 # frozen_string_literal: true
2
3 require 'rails_helper'
4
5 RSpec.describe Api::V1::CustomEmojisController, type: :controller do
6 render_views
7
8 describe 'GET #index' do
9 before do
10 Fabricate(:custom_emoji)
11 get :index
12 end
13
14 it 'returns http success' do
15 expect(response).to have_http_status(:success)
16 end
17 end
18 end
This page took 0.065548 seconds and 4 git commands to generate.