diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2018-09-13 18:53:09 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-14 00:53:09 +0200 |
commit | 40dd19be37852d4442a924c2a74bcbbfbf57e054 (patch) | |
tree | e47f0e5fbf2fa08db31583c0566c14c715daaf2e /spec/controllers/emojis_controller_spec.rb | |
parent | 4959ead07c56be120fd00b10c5da4f9db0bb1ea1 (diff) |
Misc. typos (#8694)
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
Diffstat (limited to 'spec/controllers/emojis_controller_spec.rb')
-rw-r--r-- | spec/controllers/emojis_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/emojis_controller_spec.rb b/spec/controllers/emojis_controller_spec.rb index 68bae256d..fbbd11f64 100644 --- a/spec/controllers/emojis_controller_spec.rb +++ b/spec/controllers/emojis_controller_spec.rb @@ -6,11 +6,11 @@ describe EmojisController do let(:emoji) { Fabricate(:custom_emoji) } describe 'GET #show' do - subject(:responce) { get :show, params: { id: emoji.id, format: :json } } + subject(:response) { get :show, params: { id: emoji.id, format: :json } } subject(:body) { JSON.parse(response.body, symbolize_names: true) } it 'returns the right response' do - expect(responce).to have_http_status 200 + expect(response).to have_http_status 200 expect(body[:name]).to eq ':coolcat:' end end |