diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-06 15:07:13 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-06 15:07:13 +0100 |
commit | a7420b77bd9b7038af3702d3665faab317048d3a (patch) | |
tree | eb96b3ec5c303aa6ea2573122586b397b1207fa9 /spec/serializers | |
parent | 81eb5c7fd79897d63e733e99b8fc4424dc8ea38a (diff) | |
download | gitlab-ce-a7420b77bd9b7038af3702d3665faab317048d3a.tar.gz |
Add specs for standalone pagination for serializers
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 4 |
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 |