mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 18:23:35 +02:00
Added registrant successful email confirmation #2557
This commit is contained in:
parent
9f2d87606d
commit
8102b8f1a2
11 changed files with 169 additions and 18 deletions
|
@ -182,6 +182,16 @@ describe Domain do
|
|||
@domain.force_delete_at.should be_nil
|
||||
end
|
||||
|
||||
it 'should set expired status and update outzone_at and delete_at' do
|
||||
domain = Fabricate(:domain)
|
||||
domain.statuses.should == ['ok']
|
||||
domain.set_expired
|
||||
domain.changes.keys.should == ['statuses', 'outzone_at', 'delete_at']
|
||||
domain.save
|
||||
|
||||
domain.statuses.should == ['expired']
|
||||
end
|
||||
|
||||
it 'should know its create price' do
|
||||
Fabricate(:pricelist, {
|
||||
category: 'ee',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue