summaryrefslogtreecommitdiff
path: root/spec/features/admin/dashboard_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/admin/dashboard_spec.rb')
-rw-r--r--spec/features/admin/dashboard_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/admin/dashboard_spec.rb b/spec/features/admin/dashboard_spec.rb
index 618fae3e46b..112dc9e01d8 100644
--- a/spec/features/admin/dashboard_spec.rb
+++ b/spec/features/admin/dashboard_spec.rb
@@ -19,8 +19,8 @@ RSpec.describe 'admin visits dashboard' do
# Make sure the fork_networks & fork_networks reltuples have been updated
# to get a correct count on postgresql
- ActiveRecord::Base.connection.execute('ANALYZE fork_networks')
- ActiveRecord::Base.connection.execute('ANALYZE fork_network_members')
+ ForkNetwork.connection.execute('ANALYZE fork_networks')
+ ForkNetwork.connection.execute('ANALYZE fork_network_members')
visit admin_root_path