mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
fix ./spec/features/admin/customers_spec.rb:27
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user