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
Léo-Paul Géneau
gitlab-ce
Commits
4e84ec8a
Commit
4e84ec8a
authored
Feb 16, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'reset-email' link spec
parent
0aaf22de
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 @
4e84ec8a
...
@@ -382,7 +382,9 @@ describe 'Issues', feature: true do
...
@@ -382,7 +382,9 @@ describe 'Issues', feature: true do
it
'changes incoming email address token'
,
js:
true
do
it
'changes incoming email address token'
,
js:
true
do
find
(
'.issue-email-modal-btn'
).
click
find
(
'.issue-email-modal-btn'
).
click
previous_token
=
find
(
'input#issue_email'
).
value
previous_token
=
find
(
'input#issue_email'
).
value
find
(
'.incoming-email-token-reset'
).
click
find
(
'.incoming-email-token-reset'
).
trigger
(
'click'
)
wait_for_ajax
expect
(
page
).
to
have_no_field
(
'issue_email'
,
with:
previous_token
)
expect
(
page
).
to
have_no_field
(
'issue_email'
,
with:
previous_token
)
new_token
=
project1
.
new_issue_address
(
@user
.
reload
)
new_token
=
project1
.
new_issue_address
(
@user
.
reload
)
...
@@ -636,7 +638,7 @@ describe 'Issues', feature: true do
...
@@ -636,7 +638,7 @@ describe 'Issues', feature: true do
it
'removes due date from issue'
do
it
'removes due date from issue'
do
date
=
Date
.
today
.
at_beginning_of_month
+
2
.
days
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'
...
...
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