Commit a12ca22a authored by Michael Kozono's avatar Michael Kozono

Refactor ProjectRegistryFinder spec

In order to consistently test it with and without FDW enabled.
parent e4c31f25
......@@ -24,7 +24,7 @@ module Geo
if use_legacy_queries?
legacy_find_synced_wikis
else
fdw_find_enabled_wikis
fdw_find_synced_wikis
end
relation.count
......@@ -158,7 +158,7 @@ module Geo
end
# @return [ActiveRecord::Relation<Geo::ProjectRegistry>]
def fdw_find_enabled_wikis
def fdw_find_synced_wikis
Geo::ProjectRegistry.synced_wikis.where(fdw_enabled_wikis)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment