Commit Graph

1001 Commits

Author SHA1 Message Date
Bryan Helmkamp 63591a8c30 History 2009-09-07 13:18:57 -04:00
Bryan Helmkamp ecaed5ff93 Merge commit 'm3talsmith/master' into gh_18 2009-09-07 13:16:53 -04:00
Bryan Helmkamp b0a8922eb4 History 2009-09-07 13:08:34 -04:00
Bryan Helmkamp 2490c247d2 More clarification of select option locating behavior.
TODO: Ensure the other locators are all matching on text, not HTML
2009-09-07 12:53:06 -04:00
Bryan Helmkamp 00c49a0521 Simplify select option matching code. Minor behavior change:
Valid: select "Peanut Butter & Jelly"
  Invalid: select "Peanut Butter & Jelly"
2009-09-07 12:44:54 -04:00
Bryan Helmkamp b7ea26841e Add some development dependencies (needed for running the specs) 2009-09-07 12:44:42 -04:00
Kieran Pilkington a8d0cebde3 Various improvements, refinements, and bugfixes for select field usage.
Multiple select boxes are now handled a lot better.
* You can now select more than one field (where as previously, the last one select would override previous selections)
* You can now unselect a value. It works like select, takes the same params, but removes the selection value

Issues regarding ampersands in values have been resolved.
* Values are now unescaped when the to_param method is run on elements, to make assertions less complicated
* Locating an option with ampersand values now works as expected (it will check for both escaped and unescaped occurrences)

Bunch of new specs and 3 broken pending ones have now been fixed. [#145 status:resolved]
2009-08-31 18:34:04 +12:00
Bryan Helmkamp 98efa54900 Whitespace 2009-08-29 16:09:30 -04:00
Bryan Helmkamp 49c25027e9 History 2009-08-29 16:05:56 -04:00
Bryan Helmkamp 6fd9732b4e Spec giving me trouble -- removing for now 2009-08-29 16:04:04 -04:00
Bryan Helmkamp b9466df773 Merge commit 'djanowski/fix_logger' 2009-08-29 15:57:58 -04:00
Michael Christenson II 3255c9edf0 Forces an integer to fix Issue #18 2009-08-27 11:54:03 -04:00
Bryan Helmkamp 5b90488f29 Revert "Regenerated gemspec for version 0.5.2"
This reverts commit f1cd50d615.
2009-08-27 01:02:01 -04:00
Bryan Helmkamp f1cd50d615 Regenerated gemspec for version 0.5.2 2009-08-27 00:59:53 -04:00
Bryan Helmkamp e18ef197b5 Move selenium integration code to webrat/integrations/selenium so it's automatically required 2009-08-20 00:09:03 -04:00
Bryan Helmkamp 755abb7e07 History 2009-08-19 23:44:33 -04:00
Bryan Helmkamp 723f4356b9 Move rspec-rails integration code to webrat/integrations/rspec-rails 2009-08-19 23:42:58 -04:00
Bryan Helmkamp 2fc9f3f7f9 Move adapters to webrat/adapters, and Rails and Merb integration code into webrat/integrations 2009-08-19 23:42:54 -04:00
Bryan Helmkamp 610f0fc217 Webrat doesn't need to worry about StringIOs
...or, we're missing a test and this is going to help us find it
2009-08-19 23:14:13 -04:00
Bryan Helmkamp 11f30d1d2e Dropping support for Hpricot and REXML 2009-08-19 23:14:13 -04:00
Simon Rozet 997ff97405 MerbSession now use RackSession under the hood 2009-08-19 23:14:08 -04:00
Bryan Helmkamp ab745d786c Require rubygems in rakefile for convenience
This does not break the "Don't require rubygems" spirit,
because it's not creating a dependency in the Webrat runtime code
2009-08-19 22:02:19 -04:00
Bryan Helmkamp 759d7e4581 Regenerated gemspec for version 0.5.1 2009-08-18 00:42:57 -04:00
Bryan Helmkamp 35deb84a18 Version bump to 0.5.1 2009-08-18 00:42:31 -04:00
Bryan Helmkamp 887d2b07f3 Prep for 0.5.1 release 2009-08-18 00:42:24 -04:00
Bryan Helmkamp ad0c846f17 History 2009-08-18 00:39:53 -04:00
Damian Janowski 4a949e0e5a Fix logger issue when running inside Cucumber. 2009-08-14 13:05:20 -03:00
Bryan Helmkamp 66251b66ae Cleanup session initializaton in Webrat::Methods 2009-08-12 22:05:04 -04:00
Bryan Helmkamp ec43bb9546 Selenium is a session type, not an adapter type 2009-08-12 21:44:02 -04:00
Bryan Helmkamp 2e6bef3b57 Rename TestSession to TestAdapter 2009-08-12 21:42:01 -04:00
Bryan Helmkamp 17713c9036 MechanizeAdapter doesn't need to inherit from Session 2009-08-12 21:39:32 -04:00
Bryan Helmkamp 0412543e5a Add very basic spec for Mechanize 2009-08-12 21:37:15 -04:00
Bryan Helmkamp e4ea9134a7 Rename MechanizeSession to MechanizeAdapter 2009-08-12 20:54:29 -04:00
Bryan Helmkamp 89ec303db5 Rename RailsSession to RailsAdapter 2009-08-12 20:52:57 -04:00
Bryan Helmkamp 986682488e Rename MerbSession to MerbAdapter 2009-08-12 20:50:55 -04:00
Bryan Helmkamp 22a06000f9 Introduce session_class method 2009-08-12 20:44:32 -04:00
Bryan Helmkamp a8c5af2b7a Rename session_class method to adapter_class 2009-08-12 20:43:44 -04:00
Bryan Helmkamp b0b88a0d82 Rename SinatraSession to SinatraAdapter 2009-08-12 20:40:44 -04:00
Bryan Helmkamp 561525dd81 Rename RackSession to RackAdapter 2009-08-12 20:39:35 -04:00
Bryan Helmkamp 3670b19f66 Remove duplicate branch for :sinatra mode 2009-08-12 20:25:25 -04:00
Bryan Helmkamp d55802d26e History 2009-08-12 20:17:16 -04:00
Bryan Helmkamp 74d470ff10 Merge commit 'sr/rack-upload' 2009-08-12 20:16:57 -04:00
Bryan Helmkamp 25e46a00f6 History 2009-08-12 20:14:01 -04:00
Bryan Helmkamp 27a773e6b0 Merge commit 'sr/mime' into sr-mime
Conflicts:
	Rakefile
	lib/webrat.rb
2009-08-12 20:12:14 -04:00
Bryan Helmkamp 3cdf378dd7 Add description to gemspec 2009-08-12 12:22:06 -04:00
Bryan Helmkamp 6a85b6e444 Regenerated gemspec for version 0.5.0 2009-08-12 12:15:14 -04:00
Bryan Helmkamp b48f9d622f Version bump to 0.5.0 2009-08-12 12:14:32 -04:00
Bryan Helmkamp 083332cdd3 Prep for 0.5.0 release 2009-08-12 12:14:18 -04:00
Bryan Helmkamp 3952d46979 History 2009-08-12 11:50:17 -04:00
Bryan Helmkamp 25c1d7c783 Merge branch 'master' into rack 2009-08-12 09:40:57 -04:00