From 2446b5d290f1ae28e67e1a3323c1f43d0d75ed95 Mon Sep 17 00:00:00 2001 From: Ben Topping Date: Mon, 5 Aug 2024 11:18:27 +0100 Subject: [PATCH] misc: removes incorrect comment --- spec/lib/limber/helper_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/lib/limber/helper_spec.rb b/spec/lib/limber/helper_spec.rb index 30c077bb2a..24f9988e34 100644 --- a/spec/lib/limber/helper_spec.rb +++ b/spec/lib/limber/helper_spec.rb @@ -35,7 +35,6 @@ describe 'build!' do it 'returns false if validation fails' do expect(template_constructor).to be_valid - # Name is an alias for prefix so will cause a validation error template_constructor.catalogue = nil expect { template_constructor.build! }.to raise_error(ActiveModel::ValidationError) expect(template_constructor.errors[:catalogue]).to include('can\'t be blank')