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