diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-10 18:30:39 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-23 17:11:49 +0900 |
commit | 2b33e9eeb68199f7085102a85c06821b991ecd4d (patch) | |
tree | 6ffc72228febe014b3ffe0908cff594f377601ff /spec/serializers | |
parent | 170e54236999aebcdf1508b47a00f9b692b3f8db (diff) | |
download | gitlab-ce-2b33e9eeb68199f7085102a85c06821b991ecd4d.tar.gz |
with_status to only_status
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/build_serializer_spec.rb | 2 | ||||
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/build_serializer_spec.rb b/spec/serializers/build_serializer_spec.rb index ef75a2941c2..e6437538328 100644 --- a/spec/serializers/build_serializer_spec.rb +++ b/spec/serializers/build_serializer_spec.rb @@ -13,7 +13,7 @@ describe BuildSerializer do context 'when used with status' do let(:serializer) do described_class.new(user: user) - .with_status + .only_status end let(:resource) { create(:ci_build) } diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb index 3bf4a667853..0e043e980ac 100644 --- a/spec/serializers/pipeline_serializer_spec.rb +++ b/spec/serializers/pipeline_serializer_spec.rb @@ -97,7 +97,7 @@ describe PipelineSerializer do context 'when used with status' do let(:serializer) do described_class.new(user: user) - .with_status + .only_status end let(:resource) { create(:ci_empty_pipeline) } |