diff options
Diffstat (limited to 'spec/models/notification_setting_spec.rb')
-rw-r--r-- | spec/models/notification_setting_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/notification_setting_spec.rb b/spec/models/notification_setting_spec.rb index e545b674b4f..ad09172e36a 100644 --- a/spec/models/notification_setting_spec.rb +++ b/spec/models/notification_setting_spec.rb @@ -6,6 +6,8 @@ RSpec.describe NotificationSetting do it { is_expected.to belong_to(:source) } end + it_behaves_like 'Unique enum values' + describe "Validation" do subject { described_class.new(source_id: 1, source_type: 'Project') } |