Skip to content
Snippets Groups Projects
Commit 25104fb1 authored by Alexis Kalderimis's avatar Alexis Kalderimis :speech_balloon:
Browse files

Add association assertions to model spec

parent 0e8aae4e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -80,6 +80,8 @@
it { is_expected.to have_one(:error_tracking_setting).class_name('ErrorTracking::ProjectErrorTrackingSetting') }
it { is_expected.to have_one(:project_setting) }
it { is_expected.to have_one(:alerting_setting).class_name('Alerting::ProjectAlertingSetting') }
it { is_expected.to have_one(:mock_ci_integration) }
it { is_expected.to have_one(:mock_monitoring_integration) }
it { is_expected.to have_many(:commit_statuses) }
it { is_expected.to have_many(:ci_pipelines) }
it { is_expected.to have_many(:ci_refs) }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment