mirror of
https://github.com/internetee/registry.git
synced 2025-05-30 01:20:04 +02:00
Improve reserved domain feature test #2565
This commit is contained in:
parent
344a0a9ca7
commit
d5045cb66a
1 changed files with 5 additions and 0 deletions
|
@ -34,5 +34,10 @@ feature 'ReservedDomain', type: :feature do
|
||||||
d.reserved_pw = 'testpw'
|
d.reserved_pw = 'testpw'
|
||||||
d.valid?.should == true
|
d.valid?.should == true
|
||||||
d.errors.full_messages.should match_array([])
|
d.errors.full_messages.should match_array([])
|
||||||
|
|
||||||
|
d.save
|
||||||
|
visit admin_reserved_domains_url
|
||||||
|
page.should have_content('110.ee')
|
||||||
|
page.should_not have_content('110.ee: testpw')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue