mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
Rename class to avoid any future collisions
This commit is contained in:
parent
2636fe2525
commit
b3a3a8f1a2
2 changed files with 3 additions and 2 deletions
|
@ -66,6 +66,7 @@ class DomainPresenter
|
|||
|
||||
def remove_registry_lock_btn
|
||||
return unless domain.locked_by_registrant?
|
||||
|
||||
view.link_to(view.t('admin.domains.registry_lock.destroy.btn'),
|
||||
view.admin_domain_registry_lock_path(domain),
|
||||
method: :delete,
|
||||
|
@ -79,7 +80,7 @@ class DomainPresenter
|
|||
view.link_to view.t('admin.domains.edit.keep_btn'), view.keep_admin_domain_path(@domain),
|
||||
method: :patch,
|
||||
data: { confirm: view.t('admin.domains.edit.keep_btn_confirm') },
|
||||
class: 'btn btn-default'
|
||||
class: 'dropdown-item'
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistryLockTest < JavaScriptApplicationSystemTestCase
|
||||
class AdminAreaRegistryLockTest < JavaScriptApplicationSystemTestCase
|
||||
def setup
|
||||
super
|
||||
WebMock.allow_net_connect!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue