Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
a7ab531ec1fe
Commit
130a1e86
authored
Apr 07, 2017
by
Douwe Maan
Browse files
Fix specs
parent
760fd1ce7a98
Changes
2
Hide whitespace changes
Inline
Side-by-side
spec/support/slash_commands_helpers.rb
View file @
a7ab531e
...
...
@@ -3,7 +3,7 @@ def write_note(text)
Sidekiq
::
Testing
.
fake!
do
page
.
within
(
'.js-main-target-form'
)
do
fill_in
'note[note]'
,
with:
text
find
(
'.comment-
bt
n'
).
trigger
(
'click'
)
find
(
'.
js-
comment-
submit-butto
n'
).
trigger
(
'click'
)
end
end
end
...
...
spec/support/time_tracking_shared_examples.rb
View file @
a7ab531e
...
...
@@ -77,6 +77,6 @@
def
submit_time
(
slash_command
)
fill_in
'note[note]'
,
with:
slash_command
find
(
'.comment-
bt
n'
).
trigger
(
'click'
)
find
(
'.
js-
comment-
submit-butto
n'
).
trigger
(
'click'
)
wait_for_ajax
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