Skip to content

Commit 46286ca

Browse files
committed
Explain difference between Capybara's negative matchers and should_not
1 parent b370017 commit 46286ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,9 @@ can be one steps file for all features for a particular object
677677
}
678678
end
679679
```
680+
* Always use the Capybara negative matchers instead of should_not with positive,
681+
they will retry the match for given timeout allowing you to test ajax actions.
682+
[See Capybara's README for more explanation](https://github.com/jnicklas/capybara)
680683
681684
<a name="rspec"/>
682685
## RSpec

0 commit comments

Comments
 (0)