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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
637dafde
Commit
637dafde
authored
Jan 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rspec feature test
parent
3212d47c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+4
-2
No files found.
spec/features/issues_spec.rb
View file @
637dafde
...
@@ -619,14 +619,16 @@ describe 'Issues', feature: true do
...
@@ -619,14 +619,16 @@ describe 'Issues', feature: true do
end
end
it
'adds due date to issue'
do
it
'adds due date to issue'
do
date
=
Date
.
today
.
at_beginning_of_month
+
2
.
days
page
.
within
'.due_date'
do
page
.
within
'.due_date'
do
click_link
'Edit'
click_link
'Edit'
page
.
within
'.ui-datepicker-calendar'
do
page
.
within
'.ui-datepicker-calendar'
do
first
(
'.ui-state-default'
).
click
click_link
date
.
day
end
end
expect
(
page
).
to
have_no_content
'None'
expect
(
find
(
'.value'
).
text
).
to
have_content
date
.
strftime
(
'%b %-d, %Y'
)
end
end
end
end
...
...
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