mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Refactor domain force delete, add "death" force delete mailer template
#268
This commit is contained in:
parent
ae5ae9c60b
commit
b7a999f536
23 changed files with 395 additions and 166 deletions
13
spec/routing/admin/domains_routing_spec.rb
Normal file
13
spec/routing/admin/domains_routing_spec.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Admin::DomainsController do
|
||||
describe 'routing' do
|
||||
it 'routes to #schedule_force_delete' do
|
||||
expect(patch: '/admin/domains/1/schedule_force_delete').to route_to('admin/domains#schedule_force_delete', id: '1')
|
||||
end
|
||||
|
||||
it 'routes to #cancel_force_delete' do
|
||||
expect(patch: '/admin/domains/1/cancel_force_delete').to route_to('admin/domains#cancel_force_delete', id: '1')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue