mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Using fabricator sequence instead of next_domain_name
This commit is contained in:
parent
2ba8804391
commit
cec7a27177
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
Fabricator(:domain) do
|
||||
name { "fabricate_name#{rand(1_000_000)}.ee" }
|
||||
name { sequence(:name) { |i| "fabricate_name#{i}.ee" } }
|
||||
valid_to Date.new(2014, 8, 7)
|
||||
period 1
|
||||
period_unit 'y'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue