Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 12:10:11 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 12:10:11 +0300
commitcdb726ce202165d1ab747830d805a6144d93c5cc (patch)
tree9dbbdd82ee83942309e09286b84a8499799bbdde
parent4d7b44b5b7566988d405c4dd4e68f605586d0874 (diff)
Fix code review style issues
-rw-r--r--app/views/profiles/chat_names/index.html.haml2
-rw-r--r--spec/services/chat_names/authorize_user_service_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/chat_names/index.html.haml b/app/views/profiles/chat_names/index.html.haml
index 6d8d606583d..a8dd258732f 100644
--- a/app/views/profiles/chat_names/index.html.haml
+++ b/app/views/profiles/chat_names/index.html.haml
@@ -38,7 +38,7 @@
- if can?(current_user, :admin_project, project)
= link_to service.title, edit_namespace_project_service_path(project.namespace, project, service)
- else
- = chat_name.service.title
+ = service.title
%td
= chat_name.team_domain
%td
diff --git a/spec/services/chat_names/authorize_user_service_spec.rb b/spec/services/chat_names/authorize_user_service_spec.rb
index 2ecee58e92d..d50bfb0492c 100644
--- a/spec/services/chat_names/authorize_user_service_spec.rb
+++ b/spec/services/chat_names/authorize_user_service_spec.rb
@@ -15,7 +15,7 @@ describe ChatNames::AuthorizeUserService, services: true do
end
context 'when there are missing parameters' do
- let(:params) { { } }
+ let(:params) { {} }
it 'does not request a new token' do
is_expected.to be_nil