Add tests

This commit is contained in:
Artur Beljajev 2019-01-02 14:54:07 +02:00
parent 012d53c9a4
commit 9cf5137c75
6 changed files with 218 additions and 6 deletions

View file

@ -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
View file

@ -0,0 +1,2 @@
one:
name: blocked.test

View file

@ -1,2 +1,4 @@
test:
# https://github.com/rails/rails/issues/9516 requires this file to be under "dns" folder
one:
origin: test