diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 10:10:11 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 10:10:11 +0100 |
commit | cdb726ce202165d1ab747830d805a6144d93c5cc (patch) | |
tree | 9dbbdd82ee83942309e09286b84a8499799bbdde | |
parent | 4d7b44b5b7566988d405c4dd4e68f605586d0874 (diff) | |
download | gitlab-ce-cdb726ce202165d1ab747830d805a6144d93c5cc.tar.gz |
Fix code review style issues
-rw-r--r-- | app/views/profiles/chat_names/index.html.haml | 2 | ||||
-rw-r--r-- | 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 |