summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-02-06 15:07:13 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-02-06 15:07:13 +0100
commita7420b77bd9b7038af3702d3665faab317048d3a (patch)
treeeb96b3ec5c303aa6ea2573122586b397b1207fa9 /spec/serializers
parent81eb5c7fd79897d63e733e99b8fc4424dc8ea38a (diff)
downloadgitlab-ce-a7420b77bd9b7038af3702d3665faab317048d3a.tar.gz
Add specs for standalone pagination for serializers
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/pipeline_serializer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb
index 14553acd00c..2aaef03cb93 100644
--- a/spec/serializers/pipeline_serializer_spec.rb
+++ b/spec/serializers/pipeline_serializer_spec.rb
@@ -58,8 +58,8 @@ describe PipelineSerializer do
let(:pagination) { { page: 1, per_page: 1 } }
it 'raises error' do
- expect { subject }
- .to raise_error(PipelineSerializer::InvalidResourceError)
+ expect { subject }.to raise_error(
+ Gitlab::Serializer::Pagination::InvalidResourceError)
end
end
end