diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-31 10:34:29 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-03-31 10:34:29 +0200 |
commit | 15efa32cca5c2d7dfc32b101a38081add1b3af40 (patch) | |
tree | 8b75038d0c2d6a6bc4f8b38de6a13ddc9bedbff0 /spec/controllers | |
parent | a2a85d5ae03282c6f9cbf452b9b8f7d948a9f380 (diff) | |
parent | f5bcc6bc65dee332542195e807ecff446cea0ae4 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/admin/tags_controller_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/controllers/admin/tags_controller_spec.rb b/spec/controllers/admin/tags_controller_spec.rb index 5c1944fc7..9145d887d 100644 --- a/spec/controllers/admin/tags_controller_spec.rb +++ b/spec/controllers/admin/tags_controller_spec.rb @@ -20,4 +20,16 @@ RSpec.describe Admin::TagsController, type: :controller do expect(response).to have_http_status(200) end end + + describe 'GET #show' do + let!(:tag) { Fabricate(:tag) } + + before do + get :show, params: { id: tag.id } + end + + it 'returns status 200' do + expect(response).to have_http_status(200) + end + end end |