From e5978184a670f200c85d0ee14143b9dc9ce4c689 Mon Sep 17 00:00:00 2001 From: Claire Date: Sun, 18 Jun 2023 13:59:47 +0200 Subject: [PATCH] Fix glitch-soc-only test being broken by refactor of the surrounding tests --- spec/models/tag_feed_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/models/tag_feed_spec.rb b/spec/models/tag_feed_spec.rb index da26febc7..e836144f0 100644 --- a/spec/models/tag_feed_spec.rb +++ b/spec/models/tag_feed_spec.rb @@ -68,15 +68,15 @@ describe TagFeed, type: :service do end context 'when the feed contains a local-only status' do - let!(:status) { Fabricate(:status, tags: [tag1], local_only: true) } + let!(:status) { Fabricate(:status, tags: [tag_cats], local_only: true) } it 'does not show local-only statuses without a viewer' do - results = described_class.new(tag1, nil).get(20) + results = described_class.new(tag_cats, nil).get(20) expect(results).to_not include(status) end it 'shows local-only statuses given a viewer' do - results = described_class.new(tag1, account).get(20) + results = described_class.new(tag_cats, account).get(20) expect(results).to include(status) end end