Commit Graph

18 Commits

Author SHA1 Message Date
Hiroshi Saito e51e47c7d7 description methods for Capybara::RSpecMatchers 2011-04-26 19:02:14 +09:00
Jonas Nicklas 31f1ac3ccb Separate DSL out into a module
Otherwise we were including a lot of classes in
the namespace of the object that Capybara was
being included in. This could lead to clashes with
some common class names.
2011-04-11 06:58:42 +01:00
Jonas Nicklas and Nicklas Ramhöj 7fb5a1da3a Merge remote branch 'cavalle/object_pollution'
Conflicts:
	spec/rspec/features_spec.rb
2011-03-31 18:05:58 +02:00
Jonas Nicklas and Nicklas Ramhöj 251826ff79 Merge branch 'caller' of https://github.com/cavalle/capybara into cavalle-caller 2011-03-31 17:59:12 +02:00
Jonas Nicklas e9814d70c8 Added have_select and have_table matchers 2011-03-25 10:46:31 +00:00
Jonas Nicklas 6920eae19d Added have_link, have_checked_field and have_unchecked_field matchers 2011-03-25 10:35:59 +00:00
Jonas Nicklas 414b2d983f Have field matcher 2011-03-25 09:54:52 +00:00
Jonas Nicklas 7df9e80233 Remove fancy error messages for now 2011-03-25 09:52:35 +00:00
Luismi Cavalle d5b5847334 Pass `feature` caller to `describe` 2011-03-13 14:31:04 +01:00
Luismi Cavalle fee2a70220 RSpec DSL should not pollute the Object namespace 2011-03-12 12:44:03 +01:00
Jo Liss eac66d6b78 Pass options as Hash (not Array) in RSpec matcher (thanks to Mike Mazur) 2011-03-10 19:03:59 +01:00
Jo Liss cfa26c66ad Removed require 'capybara/rspec/features' from spec (should be pulled in automatically) 2011-03-10 17:36:44 +01:00
Jonas Nicklas and Nicklas Ramhöj cb8de0c05e Merge branch 'document_text' of https://github.com/scytacki/capybara into scytacki-document_text 2011-02-28 12:56:34 +01:00
Scott Cytacki 17224befe7 Fix document#text
It failed if the default selector was css, and failed with selenium with xpath.  Calling find('.') or find('/') in selenium returns a element that causes errors.  It now calls find(:xpath, '/html') which seems to work everywhere.
2011-02-18 16:29:51 -05:00
Jonas Nicklas df300e9fbe Better errors for button matcher 2011-02-13 17:46:22 +01:00
Jonas Nicklas d18787de65 Added have_button matchers 2011-02-13 17:04:13 +01:00
Jonas Nicklas and Nicklas Ramhöj f4897f890d Added DSL for acceptance tests in RSpec 2011-02-11 14:44:58 +01:00
Jonas Nicklas and Nicklas Ramhöj f5552dfe42 Move matchers into folder 2011-02-11 14:06:39 +01:00