Commit d900da7b authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch 'id-speed-up-geo-node-spec' into 'master'

Speed up ee/spec/models/geo_node_status_spec.rb

See merge request gitlab-org/gitlab!42333
parents 382684ae 29120785
......@@ -9,11 +9,11 @@ RSpec.describe GeoNodeStatus, :geo do
let!(:primary) { create(:geo_node, :primary) }
let!(:secondary) { create(:geo_node) }
let!(:group) { create(:group) }
let!(:project_1) { create(:project, group: group) }
let!(:project_2) { create(:project, group: group) }
let!(:project_3) { create(:project) }
let!(:project_4) { create(:project) }
let_it_be(:group) { create(:group) }
let_it_be(:project_1) { create(:project, group: group) }
let_it_be(:project_2) { create(:project, group: group) }
let_it_be(:project_3) { create(:project) }
let_it_be(:project_4) { create(:project) }
subject(:status) { described_class.current_node_status }
......
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