debian-mirror-gitlab/spec/models/project_import_state_spec.rb
2018-10-15 14:42:47 +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