Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
29120785
Commit
29120785
authored
Sep 15, 2020
by
Igor Drozdov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speed up ee/spec/models/geo_node_status_spec.rb
Move project creations in before-all using let-it-be
parent
89d0135c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ee/spec/models/geo_node_status_spec.rb
ee/spec/models/geo_node_status_spec.rb
+5
-5
No files found.
ee/spec/models/geo_node_status_spec.rb
View file @
29120785
...
@@ -9,11 +9,11 @@ RSpec.describe GeoNodeStatus, :geo do
...
@@ -9,11 +9,11 @@ RSpec.describe GeoNodeStatus, :geo do
let!
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
let!
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
let!
(
:secondary
)
{
create
(
:geo_node
)
}
let!
(
:secondary
)
{
create
(
:geo_node
)
}
let
!
(
:group
)
{
create
(
:group
)
}
let
_it_be
(
:group
)
{
create
(
:group
)
}
let
!
(
:project_1
)
{
create
(
:project
,
group:
group
)
}
let
_it_be
(
:project_1
)
{
create
(
:project
,
group:
group
)
}
let
!
(
:project_2
)
{
create
(
:project
,
group:
group
)
}
let
_it_be
(
:project_2
)
{
create
(
:project
,
group:
group
)
}
let
!
(
:project_3
)
{
create
(
:project
)
}
let
_it_be
(
:project_3
)
{
create
(
:project
)
}
let
!
(
:project_4
)
{
create
(
:project
)
}
let
_it_be
(
:project_4
)
{
create
(
:project
)
}
subject
(
:status
)
{
described_class
.
current_node_status
}
subject
(
:status
)
{
described_class
.
current_node_status
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment