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
130a1e86
Commit
130a1e86
authored
Apr 07, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
c8cea68f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/support/slash_commands_helpers.rb
spec/support/slash_commands_helpers.rb
+1
-1
spec/support/time_tracking_shared_examples.rb
spec/support/time_tracking_shared_examples.rb
+1
-1
No files found.
spec/support/slash_commands_helpers.rb
View file @
130a1e86
...
@@ -3,7 +3,7 @@ module SlashCommandsHelpers
...
@@ -3,7 +3,7 @@ module SlashCommandsHelpers
Sidekiq
::
Testing
.
fake!
do
Sidekiq
::
Testing
.
fake!
do
page
.
within
(
'.js-main-target-form'
)
do
page
.
within
(
'.js-main-target-form'
)
do
fill_in
'note[note]'
,
with:
text
fill_in
'note[note]'
,
with:
text
find
(
'.
comment-bt
n'
).
trigger
(
'click'
)
find
(
'.
js-comment-submit-butto
n'
).
trigger
(
'click'
)
end
end
end
end
end
end
...
...
spec/support/time_tracking_shared_examples.rb
View file @
130a1e86
...
@@ -77,6 +77,6 @@ end
...
@@ -77,6 +77,6 @@ end
def
submit_time
(
slash_command
)
def
submit_time
(
slash_command
)
fill_in
'note[note]'
,
with:
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
wait_for_ajax
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