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:
-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 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