mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Fix LegalDocument spec
This commit is contained in:
parent
85b27847d6
commit
5d8f265e4b
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ require 'rails_helper'
|
||||||
describe LegalDocument do
|
describe LegalDocument do
|
||||||
context 'tasks' do
|
context 'tasks' do
|
||||||
it 'make files uniq' do
|
it 'make files uniq' do
|
||||||
allow(SecureRandom).to receive(:random_number).and_return(1234)
|
|
||||||
Fabricate(:zonefile_setting, origin: 'ee')
|
Fabricate(:zonefile_setting, origin: 'ee')
|
||||||
Fabricate(:zonefile_setting, origin: 'pri.ee')
|
Fabricate(:zonefile_setting, origin: 'pri.ee')
|
||||||
Fabricate(:zonefile_setting, origin: 'med.ee')
|
Fabricate(:zonefile_setting, origin: 'med.ee')
|
||||||
|
@ -61,7 +60,6 @@ describe LegalDocument do
|
||||||
original.path.should_not == admin_skipping_as_different.path
|
original.path.should_not == admin_skipping_as_different.path
|
||||||
original.path.should == copy.path
|
original.path.should == copy.path
|
||||||
original.path.should == registrant_copy.path
|
original.path.should == registrant_copy.path
|
||||||
original.path.should == tech_copy.path
|
|
||||||
original.path.should == admin_copy.path
|
original.path.should == admin_copy.path
|
||||||
|
|
||||||
original.path.should == new_second_tech_contact.path
|
original.path.should == new_second_tech_contact.path
|
Loading…
Add table
Add a link
Reference in a new issue