mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Fix legal_document factory
This commit is contained in:
parent
336a1ef6e3
commit
85b27847d6
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ require 'rails_helper'
|
|||
describe LegalDocument do
|
||||
context 'tasks' do
|
||||
it 'make files uniq' do
|
||||
allow(SecureRandom).to receive(:random_number).and_return(1234)
|
||||
Fabricate(:zonefile_setting, origin: 'ee')
|
||||
Fabricate(:zonefile_setting, origin: 'pri.ee')
|
||||
Fabricate(:zonefile_setting, origin: 'med.ee')
|
||||
|
@ -68,4 +69,4 @@ describe LegalDocument do
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue