mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Domain list for admin
This commit is contained in:
parent
238be6d59e
commit
8531e50474
11 changed files with 81 additions and 7 deletions
19
spec/features/domain_management_spec.rb
Normal file
19
spec/features/domain_management_spec.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'rails_helper'
|
||||
|
||||
feature 'Domain management', type: :feature do
|
||||
background do
|
||||
Fabricate(:domain_validation_setting_group)
|
||||
Fabricate.times(4, :domain)
|
||||
end
|
||||
|
||||
scenario 'User sees domains', js: true do
|
||||
visit root_path
|
||||
click_on 'Domains'
|
||||
|
||||
Domain.all.each do |x|
|
||||
expect(page).to have_link(x)
|
||||
expect(page).to have_link(x.registrar)
|
||||
expect(page).to have_link(x.owner_contact)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue