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
Jérome Perrin
gitlab-ce
Commits
4e2167a7
Commit
4e2167a7
authored
Feb 17, 2017
by
Rémy Coutable
Committed by
Felipe Artur
Feb 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'issue_26714' into 'master'
Fix 'reset-email' link spec Closes #26714 See merge request !9317
parent
f947ed54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+3
-1
No files found.
spec/features/issues_spec.rb
View file @
4e2167a7
...
@@ -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
)
...
...
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