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
2304550b
Commit
2304550b
authored
Nov 01, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix flaky fill_in use in which return key would occasionally be intercepted by autocomplete
parent
9d9affdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/support/features/issuable_slash_commands_shared_examples.rb
...pport/features/issuable_slash_commands_shared_examples.rb
+2
-2
No files found.
spec/support/features/issuable_slash_commands_shared_examples.rb
View file @
2304550b
...
...
@@ -61,7 +61,7 @@ shared_examples 'issuable record that supports quick actions in its description
context
'with a note containing commands'
do
it
'creates a note without the commands and interpret the commands accordingly'
do
assignee
=
create
(
:user
,
username:
'bob'
)
write_note
(
"Awesome!
\n
/assign @bob
\n
/label ~bug
\n
/milestone %
\"
ASAP
\"
"
)
write_note
(
"Awesome!
\n
\n
/assign @bob
\n\n
/label ~bug
\n
\n
/milestone %
\"
ASAP
\"
"
)
expect
(
page
).
to
have_content
'Awesome!'
expect
(
page
).
not_to
have_content
'/assign @bob'
...
...
@@ -82,7 +82,7 @@ shared_examples 'issuable record that supports quick actions in its description
context
'with a note containing only commands'
do
it
'does not create a note but interpret the commands accordingly'
do
assignee
=
create
(
:user
,
username:
'bob'
)
write_note
(
"/assign @bob
\n
/label ~bug
\n
/milestone %
\"
ASAP
\"
"
)
write_note
(
"/assign @bob
\n
\n
/label ~bug
\n
\n
/milestone %
\"
ASAP
\"
"
)
expect
(
page
).
not_to
have_content
'/assign @bob'
expect
(
page
).
not_to
have_content
'/label ~bug'
...
...
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