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
f72b895b
Commit
f72b895b
authored
May 15, 2020
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky iterations_finder_spec
parent
e8163573
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/spec/finders/iterations_finder_spec.rb
ee/spec/finders/iterations_finder_spec.rb
+1
-1
No files found.
ee/spec/finders/iterations_finder_spec.rb
View file @
f72b895b
...
@@ -99,7 +99,7 @@ describe IterationsFinder do
...
@@ -99,7 +99,7 @@ describe IterationsFinder do
end
end
it
'returns iterations which start before the timeframe'
do
it
'returns iterations which start before the timeframe'
do
iteration
=
create
(
:iteration
,
:skip_future_date_validation
,
project:
project_2
,
start_date:
now
-
5
.
days
)
iteration
=
create
(
:iteration
,
:skip_future_date_validation
,
project:
project_2
,
start_date:
now
-
5
.
days
,
due_date:
now
-
3
.
days
)
params
.
merge!
(
start_date:
now
-
3
.
days
,
end_date:
now
-
2
.
days
)
params
.
merge!
(
start_date:
now
-
3
.
days
,
end_date:
now
-
2
.
days
)
expect
(
subject
).
to
match_array
([
iteration
])
expect
(
subject
).
to
match_array
([
iteration
])
...
...
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