From ed85fa7b10ed2214c849b7d0d0b3164414afaa16 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Tue, 22 Nov 2016 16:30:27 +0100 Subject: [PATCH] fix rubocop warning --- spec/serializers/analytics_build_entity_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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