summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-04 15:00:39 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-04 15:00:39 +0100
commitb0a4635be395f0ce14e15e1671d7acfc2360d1ba (patch)
treef3baf07305d9c296e785979f70feb64e75c461dc /spec
parente49fb264e6cb5eff44330d69d34b5f74ef262659 (diff)
downloadgitlab-ce-b0a4635be395f0ce14e15e1671d7acfc2360d1ba.tar.gz
Simplify implementation of entity serializers
Diffstat (limited to 'spec')
-rw-r--r--spec/serializers/entity_request_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/serializers/entity_request_spec.rb b/spec/serializers/entity_request_spec.rb
index 1c220a7b95d..86654adfd54 100644
--- a/spec/serializers/entity_request_spec.rb
+++ b/spec/serializers/entity_request_spec.rb
@@ -15,12 +15,4 @@ describe EntityRequest do
expect { subject.some_method }.to raise_error NoMethodError
end
end
-
- describe '#merge!' do
- before { subject.merge!(build: 'some build') }
-
- it 'appends parameters' do
- expect(subject.build).to eq 'some build'
- end
- end
end