0
0
Fork 0

Improve spec coverage for models/announcement class (#28350)

This commit is contained in:
Matt Jankowski 2023-12-14 05:29:10 -05:00 committed by GitHub
parent d791b47058
commit 28e1a7a394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 227 additions and 4 deletions

View file

@ -5,7 +5,7 @@ require 'rails_helper'
describe EmojisController do
render_views
let(:emoji) { Fabricate(:custom_emoji) }
let(:emoji) { Fabricate(:custom_emoji, shortcode: 'coolcat') }
describe 'GET #show' do
let(:response) { get :show, params: { id: emoji.id, format: :json } }