2017-09-23 09:57:23 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'rails_helper'
|
|
|
|
|
2023-05-04 13:49:53 +10:00
|
|
|
RSpec.describe Api::V1::CustomEmojisController do
|
2017-09-23 09:57:23 +10:00
|
|
|
render_views
|
|
|
|
|
|
|
|
describe 'GET #index' do
|
|
|
|
before do
|
|
|
|
Fabricate(:custom_emoji)
|
|
|
|
get :index
|
|
|
|
end
|
|
|
|
|
|
|
|
it 'returns http success' do
|
2018-04-22 05:35:07 +10:00
|
|
|
expect(response).to have_http_status(200)
|
2017-09-23 09:57:23 +10:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|