fix ./spec/features/admin/customers_spec.rb:27

This commit is contained in:
Andy Brett
2021-04-09 16:24:36 -07:00
parent e2f37d96ee
commit fb507f0abd

View File

@@ -46,6 +46,6 @@ class Customer < ActiveRecord::Base
return true unless orders.any?
errors[:base] << I18n.t('admin.customers.destroy.has_associated_orders')
false
throw :abort
end
end