debian-mirror-gitlab/spec/models/project_import_state_spec.rb

14 lines
283 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
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