Thomas Walpole
e320f5d7fc
style updates
2018-07-16 15:04:52 -07:00
Thomas Walpole
a17e9c36fa
Add rubocop-spec - some disabled for now
2018-04-30 18:00:16 -07:00
Thomas Walpole
618dd9ff70
Rubocop driven spec style cleanup
2018-03-01 11:44:55 -08:00
Thomas Walpole
54d7c0c9bb
prefer .// over // in xpath examples
2016-10-26 12:24:51 -07:00
Thomas Walpole
c5d7089e0e
generally prefer ruby 1.9 hash format
2016-10-04 11:10:29 -07:00
Thomas Walpole
07e7777425
frozen literal magic comment
2016-03-07 16:52:19 -08:00
Thomas Walpole
ae2becd025
fix for issue #1524
2015-05-28 10:51:23 -07:00
Thomas Walpole
85e9fcd7f2
fix feature definition in case user has RSpec set not to expose dsl globally - test in rspec 3 beta tests
2014-04-03 10:25:03 -07:00
Thomas Walpole
ba37f78692
Update all tests to "expect" format and add support for RSpec 3 usage
...
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Jonas Nicklas
6e488b6a8d
Support title in simple nodes
2013-02-16 09:59:07 +01:00
Jonas Nicklas
e330e88a5e
Merge branch 'capy21'
...
Conflicts:
spec/basic_node_spec.rb
2013-02-15 22:53:15 +01:00
Jonas Nicklas
f17b37bdba
Merge pull request #948 from benlovell/add_element_disabled
...
Add element disabled?
2013-02-15 13:32:31 -08:00
Jonas Nicklas
c6cd6acad3
Fix basics nodes
2013-02-15 22:14:07 +01:00
Jonas Nicklas
7793d91bfd
Close tag properly
2013-02-10 15:56:59 +01:00
benlovell
b375a1c988
Added disabled? to simple node
2013-01-29 08:54:14 +00:00
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