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')