mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Refresh instance counts in spec (fixes intermittent failure) (#28698)
This commit is contained in:
parent
923fc83190
commit
32eeca9c7b
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ RSpec.describe Admin::InstancesController do
|
||||||
before do
|
before do
|
||||||
_account_less_popular = Fabricate(:account, domain: 'less.popular')
|
_account_less_popular = Fabricate(:account, domain: 'less.popular')
|
||||||
_account_popular_other = Fabricate(:account, domain: 'popular')
|
_account_popular_other = Fabricate(:account, domain: 'popular')
|
||||||
|
Instance.refresh
|
||||||
|
|
||||||
sign_in current_user, scope: :user
|
sign_in current_user, scope: :user
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue