mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Improve reserved test #2565
This commit is contained in:
parent
d99c001722
commit
ad7dc80b76
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@ feature 'ReservedDomain', type: :feature do
|
|||
page.should have_content('Record updated')
|
||||
page.should have_content('110.ee: testpw')
|
||||
|
||||
d.valid?
|
||||
d.valid?.should == false
|
||||
d.errors.full_messages.should match_array(["Domain is reserved and requires correct auth info"])
|
||||
|
||||
d.auth_info = 'testpw'
|
||||
d.valid?.should == true
|
||||
d.errors.full_messages.should match_array([])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue