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
Léo-Paul Géneau
gitlab-ce
Commits
99b82a07
Commit
99b82a07
authored
Jul 22, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotesRefactor: Use `gitlab_` prefixed auth helpers.
parent
562ccdae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
spec/support/features/issuable_slash_commands_shared_examples.rb
...pport/features/issuable_slash_commands_shared_examples.rb
+8
-8
No files found.
spec/support/features/issuable_slash_commands_shared_examples.rb
View file @
99b82a07
...
...
@@ -18,7 +18,7 @@ shared_examples 'issuable record that supports quick actions in its description
project
.
team
<<
[
assignee
,
:developer
]
project
.
team
<<
[
guest
,
:guest
]
sign_in
(
master
)
gitlab_
sign_in
(
master
)
end
after
do
...
...
@@ -111,8 +111,8 @@ shared_examples 'issuable record that supports quick actions in its description
context
"when current user cannot close
#{
issuable_type
}
"
do
before
do
sign_out
(
:user
)
sign_in
(
guest
)
gitlab_sign_out
gitlab_
sign_in
(
guest
)
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
end
...
...
@@ -146,8 +146,8 @@ shared_examples 'issuable record that supports quick actions in its description
context
"when current user cannot reopen
#{
issuable_type
}
"
do
before
do
sign_out
(
:user
)
sign_in
(
guest
)
gitlab_sign_out
gitlab_
sign_in
(
guest
)
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
end
...
...
@@ -176,8 +176,8 @@ shared_examples 'issuable record that supports quick actions in its description
context
"when current user cannot change title of
#{
issuable_type
}
"
do
before
do
sign_out
(
:user
)
sign_in
(
guest
)
gitlab_sign_out
gitlab_
sign_in
(
guest
)
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
end
...
...
@@ -265,7 +265,7 @@ shared_examples 'issuable record that supports quick actions in its description
end
end
describe
"preview of note on
#{
issuable_type
}
"
do
describe
"preview of note on
#{
issuable_type
}
"
,
js:
true
do
it
'removes quick actions from note and explains them'
do
visit
public_send
(
"namespace_project_
#{
issuable_type
}
_path"
,
project
.
namespace
,
project
,
issuable
)
...
...
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