gitlab-org--gitlab-foss/spec/models/project_import_state_spec.rb

14 lines
283 B
Ruby
Raw Normal View History

require 'rails_helper'
describe ProjectImportState, type: :model do
subject { create(:import_state) }
describe 'associations' do
it { is_expected.to belong_to(:project) }
end
describe 'validations' do
it { is_expected.to validate_presence_of(:project) }
end
end