mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Generate auth info automatically
This commit is contained in:
parent
aa56fa3160
commit
6352ed340f
4 changed files with 25 additions and 7 deletions
|
@ -76,5 +76,10 @@ describe Domain do
|
|||
expect(Fabricate.build(:domain, period: 4).valid?).to be false
|
||||
expect(Fabricate.build(:domain, period: 3).valid?).to be true
|
||||
end
|
||||
|
||||
it 'generates auth info' do
|
||||
d = Fabricate(:domain)
|
||||
expect(d.auth_info).to_not be_empty
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue