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 01:10:27 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 01:10:27 +0300
commit6f714dfb4a9b823ab75508f252d06e19e286d5f2 (patch)
tree409569ad65f1982451d9eb9a5bb0eae078abf01a /spec/lib/gitlab/chat_name_token_spec.rb
parent2749e7a58285e59381a3e788983678d9cf633b45 (diff)
Improve code design after code review
Diffstat (limited to 'spec/lib/gitlab/chat_name_token_spec.rb')
-rw-r--r--spec/lib/gitlab/chat_name_token_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/lib/gitlab/chat_name_token_spec.rb b/spec/lib/gitlab/chat_name_token_spec.rb
index 8d7e7a99059..8c1e6efa9db 100644
--- a/spec/lib/gitlab/chat_name_token_spec.rb
+++ b/spec/lib/gitlab/chat_name_token_spec.rb
@@ -12,9 +12,7 @@ describe Gitlab::ChatNameToken, lib: true do
end
context 'when storing data' do
- let(:data) {
- { key: 'value' }
- }
+ let(:data) { { key: 'value' } }
subject { described_class.new(@token) }