summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-25 11:46:13 +0100
committerJames Lopez <james@jameslopez.es>2016-11-25 11:47:33 +0100
commit94a74e79cb087cc499add60ab638d999bc7e3815 (patch)
treebcea69c0149211cbe743922d55eb09371e743282
parent830f739b99b36f8862dadc524e4aa72ec5a3366e (diff)
downloadgitlab-ce-94a74e79cb087cc499add60ab638d999bc7e3815.tar.gz
fix rubocop warning
-rw-r--r--spec/serializers/analytics_build_entity_spec.rb2
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 1a9ad1968bd..6b33fe66a63 100644
--- a/spec/serializers/analytics_build_entity_spec.rb
+++ b/spec/serializers/analytics_build_entity_spec.rb
@@ -79,7 +79,7 @@ describe AnalyticsBuildEntity do
end
it 'shows the right total time' do
- expect(subject[:total_time]).to eq({hours: 2})
+ expect(subject[:total_time]).to eq({ hours: 2 })
end
end
end