Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Walpole 7ca1cdc828 Fix Rubocop Issues 2019-10-15 17:40:27 -07:00
Thomas Walpole 7e2d19bde1 Minor test improvements 2019-07-23 13:13:49 -07:00
Thomas Walpole 1b70cec73e Remove unnecessary instance variables from specs 2019-02-26 09:48:09 -08:00
Thomas Walpole 1f2a028167 Reorganize matcher proxies so JRuby is only checked once 2018-10-20 18:03:33 -07:00
Thomas Walpole 5b235eb2e1
Use old solution for matcher proxies on jruby
To avoid a jruby prepend + super bug. And add  a test for it.
2018-10-19 16:57:06 -03:00
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
Akihiko Odaki 7eba05f476 Delegate block for "all" matcher of RSpec 2018-02-14 14:03:48 +09:00
Thomas Walpole c7874b3f7f remove conditionals for no longer supported RSpec versions 2018-01-03 09:04:12 -08:00
Thomas Walpole 6356719043 Proxy all/within to the correct version based on parameters passed 2017-04-11 17:15:15 -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 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
Jake Worth d49d3b7feb Fix typos and whitespace 2014-03-31 17:10:27 -05:00
Jonas Nicklas de34c63835 set rspec type to :feature instead 2012-09-07 20:18:20 +02:00
Jo Liss 21977817bf Require cleaning up after our specs rather than setting up before
It's easier to catch issues this way.
2012-01-04 19:41:40 +01:00
Jo Liss 9fd6c85949 Set Capybara.app at spec run time, not at definition time
This bug got triggered on Travis.
2012-01-03 17:51:29 +01:00
Thomas Walpole 891eb9e10e fix the rspec 3 deprecation warning when running tests 2011-07-30 00:35:58 +02:00
Jonas Nicklas and Nicklas Ramhöj f4897f890d Added DSL for acceptance tests in RSpec 2011-02-11 14:44:58 +01:00
Jo Liss 558e7b2d4d Use the :request type for RSpec example groups 2011-02-07 17:53:32 +01:00
Jonas Nicklas 6fea34cff8 Make RSpec matchers work with session and nodes
Also split RSpec matchers into separate file, so
they can be used with cucumber.
2011-02-04 16:37:03 +01:00
David Chelimsky 66dcafc3c7 add have_css and have_xpath matchers 2011-02-04 16:37:02 +01:00
David Chelimsky 1e7c79ffc0 initial stab at have_selector matcher for Strings 2011-02-04 16:37:02 +01:00
Jonas Nicklas bdde00afd7 Only mix in Capybara into :type => :acceptance examples 2011-01-09 13:57:41 +01:00
John Firebaugh e5d71977b2 Fix spec failures 2010-12-31 09:16:19 -08:00
Anders Törnqvist aa46894ce7 Add RSpec support in Capybara itself, closes #187
Just the basics of including Capybara and setting
up some metadata to switch between drivers.
2010-12-10 14:54:46 +01:00