1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

improve test

This commit is contained in:
Jon Leighton 2012-05-02 21:52:54 +01:00
parent 9599223e40
commit 4bdc461804

View file

@ -41,7 +41,8 @@ describe Capybara::Session do
it 'should accept numbers in a maxlength field' do
element = @session.find(:css, '#change_me_maxlength')
lambda { element.set 100 }.should_not raise_error(Capybara::Poltergeist::BrowserError)
element.set 100
element.value.should == '100'
end
it 'should fire the keydown event' do