From 38787b7d37d52360a7b986c917dac6b6dd9bab3e Mon Sep 17 00:00:00 2001 From: Matt Levy Date: Mon, 29 Jul 2024 20:39:23 -0700 Subject: [PATCH] cleanup --- spec/models/event_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb index e2a2fddb..80550238 100644 --- a/spec/models/event_spec.rb +++ b/spec/models/event_spec.rb @@ -147,12 +147,6 @@ it { is_expected.to accept_values_for(:max_kid_tickets_per_request, nil, '', 10) } it { is_expected.not_to accept_values_for(:max_kid_tickets_per_request, 0, -1) } end - - context 'when kid_ticket_price is not set' do - subject { build(:event, kid_ticket_price: nil) } - - it { is_expected.not_to accept_values_for(:max_kid_tickets_per_request, 10) } - end end end