debian-mirror-gitlab/spec/serializers/merge_request_basic_serializer_spec.rb
2017-08-17 22:00:37 +05:30

12 lines
302 B
Ruby

require 'spec_helper'
describe MergeRequestBasicSerializer do
let(:resource) { create(:merge_request) }
let(:user) { create(:user) }
subject { described_class.new.represent(resource) }
it 'has important MergeRequest attributes' do
expect(subject).to include(:merge_status)
end
end