Fix existing tests

This commit is contained in:
Alex Sherman 2020-11-05 12:45:59 +05:00
parent 3ce0fc4a5c
commit 0116531786
4 changed files with 8 additions and 16 deletions

View file

@ -2,7 +2,6 @@ module Admin
class DomainsController < BaseController
before_action :set_domain, only: %i[show edit update keep]
authorize_resource
helper_method :force_delete_templates
def index
params[:q] ||= {}
@ -105,9 +104,5 @@ module Admin
params[:q][:valid_to_lteq] = ca_cache
end
def force_delete_templates
DomainDeleteMailer.force_delete_templates
end
end
end