Skip to content

Commit

Permalink
misc: removes incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTopping committed Aug 5, 2024
1 parent e73692f commit 2446b5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/lib/limber/helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 2446b5d

Please sign in to comment.