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

8 commits

Author SHA1 Message Date
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
Jillian Rosile
1c8406e5e7 Changing :disabled option to be tristate
* Allowing true, false, or :all for all selectors with :disabled option
* Adding skip_if option to Filter to skip the filter (i.e. return true) if this value is passed
2015-09-18 21:51:21 -06: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
Carol Nichols
e7b72c72ec Allows passing options through has_button? to has_selector?
This enables assertions on the presence of disabled buttons by doing:

    assert has_button?('Button text', :disabled => true)

in a similar way to:

    find_field("Disabled Checkbox", :disabled => true)
2013-08-08 19:05:38 -04:00
Jonas Nicklas
c7bf8359f2 Support non string arguments
Most of this work was done in the xpath gem, this
commit really only adds tests.
2012-09-06 09:33:43 +02:00
Jonas Nicklas
2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Jonas Nicklas
cf1aa4d073 Moved shared specs into lib directory
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00
Renamed from spec/dsl/has_button_spec.rb (Browse further)