diff options
author | James Lopez <james@jameslopez.es> | 2016-12-09 18:38:59 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-17 13:32:55 +0300 |
commit | 34875ce6b760980c1539c3ab88af0429e04d90bc (patch) | |
tree | 2714d6dfbb091ec2da49bb5a7b74afd39d03ce3e /spec | |
parent | 1b220df56d935f6f9560bdb54f744f17ecfa035b (diff) |
fix serializer
Diffstat (limited to 'spec')
-rw-r--r-- | spec/serializers/analytics_stage_serializer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/analytics_stage_serializer_spec.rb b/spec/serializers/analytics_stage_serializer_spec.rb index 5597fbed151..f9951826683 100644 --- a/spec/serializers/analytics_stage_serializer_spec.rb +++ b/spec/serializers/analytics_stage_serializer_spec.rb @@ -10,7 +10,7 @@ describe AnalyticsStageSerializer do let(:resource) { Gitlab::CycleAnalytics::CodeStage.new(project: double, options: {}) } before do - allow_any_instance_of(Gitlab::CycleAnalytics::MetricsFetcher).to receive(:median).and_return(1.12) + allow_any_instance_of(Gitlab::CycleAnalytics::BaseStage).to receive(:median).and_return(1.12) allow_any_instance_of(Gitlab::CycleAnalytics::BaseEventFetcher).to receive(:event_result).and_return({}) end |