Refatored to use shared/title partial

This commit is contained in:
Priit Tark 2015-04-16 16:29:04 +03:00
parent 4c660df43e
commit 8d4124585c
73 changed files with 402 additions and 411 deletions

View file

@ -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