BigW Consortium Gitlab

merge_request_basic_serializer_spec.rb 302 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
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