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
cdb726ce
Commit
cdb726ce
authored
Nov 17, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code review style issues
parent
4d7b44b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/profiles/chat_names/index.html.haml
app/views/profiles/chat_names/index.html.haml
+1
-1
spec/services/chat_names/authorize_user_service_spec.rb
spec/services/chat_names/authorize_user_service_spec.rb
+1
-1
No files found.
app/views/profiles/chat_names/index.html.haml
View file @
cdb726ce
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
-
if
can?
(
current_user
,
:admin_project
,
project
)
-
if
can?
(
current_user
,
:admin_project
,
project
)
=
link_to
service
.
title
,
edit_namespace_project_service_path
(
project
.
namespace
,
project
,
service
)
=
link_to
service
.
title
,
edit_namespace_project_service_path
(
project
.
namespace
,
project
,
service
)
-
else
-
else
=
chat_name
.
service
.
title
=
service
.
title
%td
%td
=
chat_name
.
team_domain
=
chat_name
.
team_domain
%td
%td
...
...
spec/services/chat_names/authorize_user_service_spec.rb
View file @
cdb726ce
...
@@ -15,7 +15,7 @@ describe ChatNames::AuthorizeUserService, services: true do
...
@@ -15,7 +15,7 @@ describe ChatNames::AuthorizeUserService, services: true do
end
end
context
'when there are missing parameters'
do
context
'when there are missing parameters'
do
let
(
:params
)
{
{
}
}
let
(
:params
)
{
{}
}
it
'does not request a new token'
do
it
'does not request a new token'
do
is_expected
.
to
be_nil
is_expected
.
to
be_nil
...
...
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