Skip to content

Commit

Permalink
fixed an example in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 27, 2016
1 parent 2199a18 commit abc38e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/expectations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Here are some common expressions:
- css(".post h2 a").first().attr("href")
# check that "h1" contains "Welcome"
- css("h1:contains('Welcome')")
- css("h1:contains('Welcome')").count() > 0
# same as above
- css("h1").first().text() matches "/Welcome/"
Expand Down

0 comments on commit abc38e8

Please sign in to comment.