mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
parent
64f6e07a20
commit
35267820f9
6 changed files with 2 additions and 58 deletions
|
@ -1,16 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.feature 'Deleting zone in admin area', settings: false do
|
||||
given!(:zone) { create(:zone) }
|
||||
|
||||
background do
|
||||
sign_in_to_admin_area
|
||||
end
|
||||
|
||||
scenario 'deletes zone' do
|
||||
visit edit_admin_zone_url(zone)
|
||||
click_link_or_button t('admin.dns.zones.edit.delete_btn')
|
||||
|
||||
expect(page).to have_text(t('admin.dns.zones.destroy.destroyed'))
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue