summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-23 11:28:28 +0100
committerJames Lopez <james@jameslopez.es>2017-01-17 11:32:55 +0100
commita67311cb4c9f54af43d300fde5240f9a370193d1 (patch)
tree14b82a6181b6cd7a148eeda9d2e50002c798dd8e /spec/serializers
parent02e1e4819234662faddd7d8eb5c54d9bfdf9e7e6 (diff)
downloadgitlab-ce-a67311cb4c9f54af43d300fde5240f9a370193d1.tar.gz
Fix other spec failures
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/analytics_summary_serializer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/analytics_summary_serializer_spec.rb b/spec/serializers/analytics_summary_serializer_spec.rb
index e08e3f88710..fe551734bc1 100644
--- a/spec/serializers/analytics_summary_serializer_spec.rb
+++ b/spec/serializers/analytics_summary_serializer_spec.rb
@@ -8,10 +8,10 @@ describe AnalyticsSummarySerializer do
let(:json) { serializer.as_json }
let(:project) { create(:empty_project) }
- let(:resource) { Gitlab::CycleAnalytics::Summary::Issue.new(project: double, from: 1.day.ago) }
+ let(:resource) { Gitlab::CycleAnalytics::StageSummary::Issue.new(project: double, from: 1.day.ago) }
before do
- allow_any_instance_of(Gitlab::CycleAnalytics::Summary::Issue).to receive(:value).and_return(1.12)
+ allow_any_instance_of(Gitlab::CycleAnalytics::StageSummary::Issue).to receive(:value).and_return(1.12)
end
it 'it generates payload for single object' do