Improve reserved domain feature test #2565

This commit is contained in:
Martin Lensment 2015-07-09 18:21:47 +03:00
parent 344a0a9ca7
commit d5045cb66a

View file

@ -34,5 +34,10 @@ feature 'ReservedDomain', type: :feature do
d.reserved_pw = 'testpw'
d.valid?.should == true
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