From 5938577bd1e4d1b307bfbbb0dd2c718facd45214 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Mon, 5 Jun 2023 15:43:11 +0200 Subject: [PATCH] Update custom_tab_spec.rb --- spec/models/custom_tab_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/models/custom_tab_spec.rb b/spec/models/custom_tab_spec.rb index cad60ef8a2..f710b30461 100644 --- a/spec/models/custom_tab_spec.rb +++ b/spec/models/custom_tab_spec.rb @@ -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