Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bulk_import_spec.rb « entities « api « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2db6862b0799a007f3ace0fc468cd9c14a5dc26b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe API::Entities::BulkImport do
  let_it_be(:import) { create(:bulk_import) }

  subject { described_class.new(import).as_json }

  it 'has the correct attributes' do
    expect(subject).to include(
      :id,
      :status,
      :source_type,
      :created_at,
      :updated_at
    )
  end
end