debian-mirror-gitlab/spec/models/projects/project_topic_spec.rb
2021-11-11 11:23:49 +05:30

16 lines
361 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Projects::ProjectTopic do
let_it_be(:project_topic, reload: true) { create(:project_topic) }
subject { project_topic }
it { expect(subject).to be_valid }
describe 'associations' do
it { is_expected.to belong_to(:project) }
it { is_expected.to belong_to(:topic) }
end
end