debian-mirror-gitlab/spec/models/project_import_state_spec.rb
2019-01-03 12:48:30 +05:30

13 lines
283 B
Ruby

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