diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2018-11-27 11:47:10 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-12-19 12:58:53 +0300 |
commit | 6c79e9307e116d6115f6d76ac796176952fb83cd (patch) | |
tree | 85a2981cf3451e9c3918e894b488d3b9fec6337d /spec/serializers/merge_request_serializer_spec.rb | |
parent | 1f7c072e08913dda0534bc5534a50f389567433f (diff) |
Refactor issuable sidebar to have extras option
Diffstat (limited to 'spec/serializers/merge_request_serializer_spec.rb')
-rw-r--r-- | spec/serializers/merge_request_serializer_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/merge_request_serializer_spec.rb b/spec/serializers/merge_request_serializer_spec.rb index b259cb92962..aa055854add 100644 --- a/spec/serializers/merge_request_serializer_spec.rb +++ b/spec/serializers/merge_request_serializer_spec.rb @@ -18,10 +18,10 @@ describe MergeRequestSerializer do end context 'sidebar merge request serialization' do - let(:serializer) { 'sidebar' } + let(:serializer) { 'sidebar_extras' } it 'matches basic merge request json schema' do - expect(json_entity).to match_schema('entities/merge_request_basic') + expect(json_entity).to match_schema('entities/merge_request_sidebar') end end |