diff options
author | Timm <kaspth@gmail.com> | 2013-07-20 19:51:12 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:40:59 +0200 |
commit | 95afa79439c4f241e2eb68c6f838c355b9f6535e (patch) | |
tree | c132d097f87032302e2bc198cadfcb23e4f9fdc5 /actionpack/lib/action_dispatch | |
parent | b4258f8dfa0bc2487277d0a388aed176978eb5af (diff) | |
download | rails-95afa79439c4f241e2eb68c6f838c355b9f6535e.tar.gz rails-95afa79439c4f241e2eb68c6f838c355b9f6535e.tar.bz2 rails-95afa79439c4f241e2eb68c6f838c355b9f6535e.zip |
Changed some documentation for css_select.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/selector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/selector.rb b/actionpack/lib/action_dispatch/testing/assertions/selector.rb index cf87a5bac6..3f2037eaea 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/selector.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/selector.rb @@ -61,7 +61,7 @@ module ActionDispatch def css_select(*args) raise ArgumentError, "you at least need a selector" if args.empty? - if args.first.is_a?(String) # allow nokogiri's ability to use more selectors + if args.first.is_a?(String) # use nokogiri's ability for more selectors root, selectors = response_from_page, args else root, selectors = args.shift, args |