mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Reserved test to check for wrong password #2565
This commit is contained in:
parent
ad7dc80b76
commit
94adc9496f
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ feature 'ReservedDomain', type: :feature do
|
|||
d.valid?.should == false
|
||||
d.errors.full_messages.should match_array(["Domain is reserved and requires correct auth info"])
|
||||
|
||||
d.auth_info = 'wrongpw'
|
||||
d.valid?.should == false
|
||||
|
||||
d.auth_info = 'testpw'
|
||||
d.valid?.should == true
|
||||
d.errors.full_messages.should match_array([])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue