diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-22 10:28:43 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-11-22 10:28:43 +0100 |
commit | ff42233aaeed91f8c14da150c7241d3d0b72841f (patch) | |
tree | d8b6e5807bb722fc92087bc6c52679ad92e8e2b2 /spec/controllers/api/v1 | |
parent | e0e7a09cfed2b311f055522eea45caac0838d87a (diff) | |
parent | f343ed42ff1d288989f3a577362cc672e4cae437 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/controllers/api/v1')
-rw-r--r-- | spec/controllers/api/v1/tags_controller_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/controllers/api/v1/tags_controller_spec.rb b/spec/controllers/api/v1/tags_controller_spec.rb index ac42660df..216faad87 100644 --- a/spec/controllers/api/v1/tags_controller_spec.rb +++ b/spec/controllers/api/v1/tags_controller_spec.rb @@ -33,7 +33,11 @@ RSpec.describe Api::V1::TagsController, type: :controller do end describe 'POST #follow' do + let!(:unrelated_tag) { Fabricate(:tag) } + before do + TagFollow.create!(account: user.account, tag: unrelated_tag) + post :follow, params: { id: name } end |