mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
improve test
This commit is contained in:
parent
9599223e40
commit
4bdc461804
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue