mirror of
https://github.com/internetee/registry.git
synced 2025-07-14 06:55:11 +02:00
parent
0dcecbcd1f
commit
b5ad66532e
2 changed files with 17 additions and 0 deletions
8
spec/features/registrar/domains/csv_export_spec.rb
Normal file
8
spec/features/registrar/domains/csv_export_spec.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.feature 'CSV Export', db: true do
|
||||
scenario 'csv file download' do
|
||||
visit registrar_domains_path
|
||||
click_on 'download-domains-csv-btn'
|
||||
end
|
||||
end
|
9
spec/routing/registrar/domains_routing_spec.rb
Normal file
9
spec/routing/registrar/domains_routing_spec.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Registrar::DomainsController do
|
||||
describe 'routing' do
|
||||
it 'routes to #index' do
|
||||
expect(get: '/registrar/domains').to route_to('registrar/domains#index')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue