mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Refatored to use shared/title partial
This commit is contained in:
parent
4c660df43e
commit
8d4124585c
73 changed files with 402 additions and 411 deletions
|
@ -158,7 +158,7 @@ describe Contact do
|
|||
contact = @domain.contacts.first
|
||||
contact.save
|
||||
|
||||
contact.statuses.map(&:value).should == %w(ok linked)
|
||||
contact.statuses.map(&:value).sort.should == %w(linked ok)
|
||||
end
|
||||
|
||||
it 'should not have linked status when no domain' do
|
||||
|
@ -167,7 +167,7 @@ describe Contact do
|
|||
contact = @domain.contacts.first
|
||||
contact.save
|
||||
|
||||
contact.statuses.map(&:value).should == %w(ok linked)
|
||||
contact.statuses.map(&:value).sort.should == %w(linked ok)
|
||||
|
||||
contact.domains.first.destroy
|
||||
contact.reload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue