diff options
author | James Lopez <james@jameslopez.es> | 2016-11-22 16:30:27 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-22 16:30:27 +0100 |
commit | ed85fa7b10ed2214c849b7d0d0b3164414afaa16 (patch) | |
tree | 7f22ee6322447615eb5e2669579e07d7981452ae | |
parent | db62eb957157ffe14a474f5f858c753cade067b1 (diff) | |
download | gitlab-ce-fix/cycle-analytics-duration.tar.gz |
fix rubocop warningfix/cycle-analytics-duration
-rw-r--r-- | spec/serializers/analytics_build_entity_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/analytics_build_entity_spec.rb b/spec/serializers/analytics_build_entity_spec.rb index a802c0fa49d..c0b7e86b17c 100644 --- a/spec/serializers/analytics_build_entity_spec.rb +++ b/spec/serializers/analytics_build_entity_spec.rb @@ -29,7 +29,7 @@ describe AnalyticsBuildEntity do end it 'contains the duration' do - expect(subject[:total_time]).to eq({ :hours => 1 }) + expect(subject[:total_time]).to eq(hours: 1 ) end end end |