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