gitlab-org--gitlab-foss/spec/serializers/merge_request_basic_serializer_spec.rb
2017-05-09 04:15:34 +00:00

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