Update custom_tab_spec.rb

This commit is contained in:
Jean-Baptiste Bellet
2023-06-05 15:43:11 +02:00
parent 1594d1c718
commit 5938577bd1

View File

@@ -6,4 +6,8 @@ describe CustomTab do
describe 'associations' do
it { is_expected.to belong_to(:enterprise).required }
end
describe 'validations' do
it { is_expected.to validate_presence_of(:title) }
end
end