From cdb726ce202165d1ab747830d805a6144d93c5cc Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 17 Nov 2016 10:10:11 +0100 Subject: [PATCH] Fix code review style issues --- app/views/profiles/chat_names/index.html.haml | 2 +- spec/services/chat_names/authorize_user_service_spec.rb | 2 +- 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