mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Contact status ok by default
This commit is contained in:
parent
b2488c7ebe
commit
5341a42a43
2 changed files with 13 additions and 0 deletions
|
@ -147,6 +147,11 @@ describe Contact do
|
|||
@contact.auth_info.should == 'password'
|
||||
end
|
||||
|
||||
it 'should have ok status by default' do
|
||||
@contact.statuses.size.should == 1
|
||||
@contact.statuses.first.value.should == 'ok'
|
||||
end
|
||||
|
||||
context 'as birthday' do
|
||||
before :all do
|
||||
@contact.ident_type = 'birthday'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue