Refresh instance counts in spec (fixes intermittent failure) (#28698)

main
Matt Jankowski 4 months ago committed by GitHub
parent 923fc83190
commit 32eeca9c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,8 @@ RSpec.describe Admin::InstancesController do
before do
_account_less_popular = Fabricate(:account, domain: 'less.popular')
_account_popular_other = Fabricate(:account, domain: 'popular')
Instance.refresh
sign_in current_user, scope: :user
end

Loading…
Cancel
Save