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
a2113aff
Commit
a2113aff
authored
Mar 17, 2022
by
minahilnichols
Committed by
Ezekiel Kigbo
Mar 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix variable names in spec
parent
577f0e70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ee/spec/features/groups/iterations/user_edits_iteration_spec.rb
...c/features/groups/iterations/user_edits_iteration_spec.rb
+6
-6
No files found.
ee/spec/features/groups/iterations/user_edits_iteration_spec.rb
View file @
a2113aff
...
...
@@ -46,22 +46,22 @@ RSpec.describe 'User edits iteration' do
input
end
let
(
:updated_start_date_with_cadences
_input
)
do
let
(
:updated_start_date_with_cadences
)
do
fill_in
(
'Start date'
,
with:
new_start_date
.
strftime
(
'%Y-%m-%d'
))
new_start_date
.
strftime
(
'%b %-d, %Y'
)
end
let
(
:updated_due_date_with_cadences
_input
)
do
let
(
:updated_due_date_with_cadences
)
do
fill_in
(
'Due date'
,
with:
new_due_date
.
strftime
(
'%Y-%m-%d'
))
new_due_date
.
strftime
(
'%b %-d, %Y'
)
end
let
(
:updated_start_date_without_cadences
_input
)
do
let
(
:updated_start_date_without_cadences
)
do
start_date_without_cadences_input
.
set
(
new_start_date
)
new_start_date
.
strftime
(
'%b %-d, %Y'
)
end
let
(
:updated_due_date_without_cadences
_input
)
do
let
(
:updated_due_date_without_cadences
)
do
# TODO: Reported issue with Capybara
# Use fill_in instead, update datepicker to have labels
due_date_without_cadences_input
.
set
(
''
)
...
...
@@ -77,8 +77,8 @@ RSpec.describe 'User edits iteration' do
let
(
:edit_iteration_without_cadences_page
)
{
edit_group_iteration_path
(
iteration
.
group
,
iteration
.
id
)
}
where
(
:using_cadences
,
:start_date_input
,
:due_date_input
,
:updated_start_date
,
:updated_due_date
,
:iteration_page
,
:edit_iteration_page
)
do
true
|
ref
(
:start_date_with_cadences_input
)
|
ref
(
:due_date_with_cadences_input
)
|
ref
(
:updated_start_date_with_cadences
_input
)
|
ref
(
:updated_due_date_with_cadences_input
)
|
ref
(
:iteration_with_cadences_page
)
|
ref
(
:edit_iteration_with_cadences_page
)
false
|
ref
(
:start_date_without_cadences_input
)
|
ref
(
:due_date_without_cadences_input
)
|
ref
(
:updated_start_date_without_cadences
_input
)
|
ref
(
:updated_due_date_without_cadences_input
)
|
ref
(
:iteration_without_cadences_page
)
|
ref
(
:edit_iteration_without_cadences_page
)
true
|
ref
(
:start_date_with_cadences_input
)
|
ref
(
:due_date_with_cadences_input
)
|
ref
(
:updated_start_date_with_cadences
)
|
ref
(
:updated_due_date_with_cadences
)
|
ref
(
:iteration_with_cadences_page
)
|
ref
(
:edit_iteration_with_cadences_page
)
false
|
ref
(
:start_date_without_cadences_input
)
|
ref
(
:due_date_without_cadences_input
)
|
ref
(
:updated_start_date_without_cadences
)
|
ref
(
:updated_due_date_without_cadences
)
|
ref
(
:iteration_without_cadences_page
)
|
ref
(
:edit_iteration_without_cadences_page
)
end
with_them
do
...
...
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