From 2aa26ae469797f04048ee8d813b49ffafd5fdbcb Mon Sep 17 00:00:00 2001 From: jsgoldstein Date: Tue, 5 Sep 2023 12:16:40 -0400 Subject: [PATCH] try to use indexable rather than a username --- spec/search/models/concerns/account_statuses_search_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/search/models/concerns/account_statuses_search_spec.rb b/spec/search/models/concerns/account_statuses_search_spec.rb index 1139e997ae1605..6a04b873cd959d 100644 --- a/spec/search/models/concerns/account_statuses_search_spec.rb +++ b/spec/search/models/concerns/account_statuses_search_spec.rb @@ -8,7 +8,7 @@ end describe 'a non-indexable account becoming indexable' do - let(:account) { Account.find_by(username: 'search_test_account_2') } + let(:account) { Account.find_by(indexable: false) } context 'when picking a non-indexable account' do it 'has no statuses in the PublicStatusesIndex' do @@ -31,7 +31,7 @@ end describe 'an indexable account becoming non-indexable' do - let(:account) { Account.find_by(username: 'search_test_account_1') } + let(:account) { Account.find_by(indexable: true) } context 'when picking an indexable account' do it 'has statuses in the PublicStatusesIndex' do