Skip to content

Commit

Permalink
try to use indexable rather than a username
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgoldstein committed Sep 5, 2023
1 parent 72963a1 commit 2aa26ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/search/models/concerns/account_statuses_search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2aa26ae

Please sign in to comment.