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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
4fd87421
Commit
4fd87421
authored
May 03, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix failing slash command specs
parent
0a725c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
spec/support/features/issuable_slash_commands_shared_examples.rb
...pport/features/issuable_slash_commands_shared_examples.rb
+1
-3
No files found.
spec/support/features/issuable_slash_commands_shared_examples.rb
View file @
4fd87421
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
shared_examples
'issuable record that supports slash commands in its description and notes'
do
|
issuable_type
|
shared_examples
'issuable record that supports slash commands in its description and notes'
do
|
issuable_type
|
include
SlashCommandsHelpers
include
SlashCommandsHelpers
include
WaitForVueResource
let
(
:master
)
{
create
(
:user
)
}
let
(
:master
)
{
create
(
:user
)
}
let
(
:assignee
)
{
create
(
:user
,
username:
'bob'
)
}
let
(
:assignee
)
{
create
(
:user
,
username:
'bob'
)
}
...
@@ -19,7 +18,6 @@ shared_examples 'issuable record that supports slash commands in its description
...
@@ -19,7 +18,6 @@ shared_examples 'issuable record that supports slash commands in its description
project
.
team
<<
[
assignee
,
:developer
]
project
.
team
<<
[
assignee
,
:developer
]
project
.
team
<<
[
guest
,
:guest
]
project
.
team
<<
[
guest
,
:guest
]
login_with
(
master
)
login_with
(
master
)
wait_for_vue_resource
end
end
after
do
after
do
...
@@ -46,7 +44,7 @@ shared_examples 'issuable record that supports slash commands in its description
...
@@ -46,7 +44,7 @@ shared_examples 'issuable record that supports slash commands in its description
end
end
end
end
describe
"note on
#{
issuable_type
}
"
do
describe
"note on
#{
issuable_type
}
"
,
js:
true
do
before
do
before
do
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
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