logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

custom_emojis_controller_spec.rb (342B)


  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe Api::V1::CustomEmojisController, type: :controller do
  4. render_views
  5. describe 'GET #index' do
  6. before do
  7. Fabricate(:custom_emoji)
  8. get :index
  9. end
  10. it 'returns http success' do
  11. expect(response).to have_http_status(:success)
  12. end
  13. end
  14. end