mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Add tests
This commit is contained in:
parent
012d53c9a4
commit
9cf5137c75
6 changed files with 218 additions and 6 deletions
9
test/fixtures/billing/prices.yml
vendored
9
test/fixtures/billing/prices.yml
vendored
|
@ -4,7 +4,7 @@ create_one_month:
|
|||
operation_category: create
|
||||
valid_from: 2010-07-05
|
||||
valid_to: 2010-07-05
|
||||
zone: test
|
||||
zone: one
|
||||
|
||||
renew_one_month:
|
||||
duration: 1 month
|
||||
|
@ -12,15 +12,14 @@ renew_one_month:
|
|||
operation_category: renew
|
||||
valid_from: 2010-07-05
|
||||
valid_to: 2010-07-05
|
||||
zone: test
|
||||
zone: one
|
||||
|
||||
create_one_year:
|
||||
duration: 1 year
|
||||
price_cents: 1000
|
||||
operation_category: create
|
||||
valid_from: 2010-07-05
|
||||
valid_to: 2010-07-05
|
||||
zone: test
|
||||
zone: one
|
||||
|
||||
renew_one_year:
|
||||
duration: 1 year
|
||||
|
@ -28,4 +27,4 @@ renew_one_year:
|
|||
operation_category: renew
|
||||
valid_from: 2010-07-05
|
||||
valid_to: 2010-07-05
|
||||
zone: test
|
||||
zone: one
|
||||
|
|
2
test/fixtures/blocked_domains.yml
vendored
Normal file
2
test/fixtures/blocked_domains.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
one:
|
||||
name: blocked.test
|
4
test/fixtures/dns/zones.yml
vendored
4
test/fixtures/dns/zones.yml
vendored
|
@ -1,2 +1,4 @@
|
|||
test:
|
||||
# https://github.com/rails/rails/issues/9516 requires this file to be under "dns" folder
|
||||
|
||||
one:
|
||||
origin: test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue