1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Jonas Nicklas
46f0761aa9 Fix basic node spec 2012-09-09 17:41:19 +02:00
Jo Liss
a3fae41d93 Make error messages about :text come out unescaped
I looked into 60ed5145 and discovered that Capybara::Query#initialize escapes
options[:text]. I think this is a bit confusing, and it messes up the error
message, so options[:text] is now escaped on the fly in matches_filters?.

Also add tests with blanks in them just to be on the safe side.
2012-01-04 00:35:53 +01:00
Jared Ning
455c0513d5 Add custom matcher css method like xpath. 2011-09-29 15:04:51 -05:00
Jonas Nicklas
d223d542f7 Move more of node functionality into subfolder
We have too many top level files, we have multiple
classes in the same file. This allows us to solve
both problems, while also providing a good place
for the new Capybara::Node::Simple (formerly
Capybara::StringNode)
2010-11-21 14:37:45 +01:00
Renamed from spec/util/string_spec.rb (Browse further)