Update capybara

This commit is contained in:
Rico Sta. Cruz 2015-06-10 20:24:12 +08:00
parent c2b93cdfd8
commit 1bb387928c
1 changed files with 34 additions and 29 deletions

View File

@ -106,15 +106,19 @@ should_not doesn't wait for a timeout from the driver
.current_path
.current_url
## AJAX
using_wait_time(10) { ... }
## Misc
drag
field_labeled
wait_until
## Capybara RSpec matchers
# all selectors have:
```rb
# all selectors have...
text: 'welcome'
visible: true
count: 4
@ -141,6 +145,7 @@ should_not doesn't wait for a timeout from the driver
# alias: have_content
expect(page).to have_unchecked_field
expect(page).to have_xpath
```
http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers
http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers
- <http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
- <http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>