Commit Graph

32 Commits

Author SHA1 Message Date
Bryan Helmkamp b4bdeb5319 Fall back on Hpricot when Nokogiri isn't available (eg. JRuby) 2008-11-11 00:28:38 -05:00
Bryan Helmkamp 82c6be380e Raise Webrat::PageLoadError when a failure occurs so that application exceptions can be more accurately tested (Ryan Briones) 2008-11-10 14:15:40 -05:00
Bryan Helmkamp 859a15b8d8 Prep for the 0.3.2 release 2008-11-08 21:38:56 -05:00
Bryan Helmkamp 055bd568f5 Use @_webrat_session instance variable instead of @session for Merb integration to avoid collisions 2008-11-07 17:04:01 -05:00
Bryan Helmkamp 2d867451ca Cleaning up rdoc to only show public APIs 2008-11-07 12:13:41 -05:00
Bryan Helmkamp ebcef2d073 Bumping version 2008-11-07 11:40:05 -05:00
Bryan Helmkamp e5b0e77332 Moving require of nokogiri to webrat.rb 2008-11-07 02:49:48 -05:00
Bryan Helmkamp 11f291ceb3 Moving Webrat/Merb integratio to Webrat 2008-11-06 14:44:17 -05:00
Bryan Helmkamp ce9235f0fa Restructuring files 2008-11-05 18:01:05 -05:00
Bryan Helmkamp 2473cccb92 Cleaning up require structure 2008-10-25 12:59:21 -04:00
Bryan Helmkamp bc34dc9ba0 Restructuring spec tasks 2008-10-25 12:42:38 -04:00
Krzysztof Zylawy 06997fabb8 merged changes from notch8 repo 2008-10-21 13:05:35 +01:00
Rob Kaufman b8e76a1af2 Moved merb files to be more in line with current webrat layout 2008-10-17 19:41:24 -07:00
Rob Kaufman 264b147b6f fully merged webrat merb branch with brynary. File upload tests still fail, will look at later 2008-10-11 17:09:15 -07:00
Rob Kaufman dbb3883d27 merged jrun and gwynms merb changes into main webrat code 2008-10-11 12:53:13 -07:00
Jeremy Burks 300880db2f get webrat+cucumber+merb working
i put this in env.rb

require 'webrat'

World do
  w = Object.new
  w.extend(Merb::Test::ViewHelper)
  w.extend(Merb::Test::RouteHelper)
  w.extend(Merb::Test::ControllerHelper)
  w.extend(Webrat::MerbTest)
end
2008-10-05 22:05:01 -05:00
Bryan Helmkamp 5bb3026daf Basic spike of WWW:Mechanize support 2008-05-12 00:42:43 -04:00
Bryan Helmkamp cf6b9d26c0 Start isolating Rails-specific webrat components to prepare for additional modes (Merb and WWW::Mechanize) 2008-05-11 23:58:20 -04:00
Kyle Hargraves ce4dc1cd47 Add attaches_file method
Note that file submissions in integration tests are only supported
on edge rails after revision 8978. Rick DeNatale has backported
support to 2.0.2; see his blog entry at:

http://talklikeaduck.denhaven2.com/articles/2008/04/18/rails-integration-test-file-upload-plugin
2008-04-28 05:00:08 -04:00
Gwyn Morfey c967a02ca0 All tests pass in merb 2008-04-18 16:39:28 +01:00
Gwyn Morfey aeb6aa056c All but 3 merb tests pass 2008-04-18 13:37:53 +01:00
Gwyn Morfey 2e03051735 Wrap RAILS_ROOT to support Merb also 2008-04-17 11:52:42 +01:00
Gwyn Morfey cdafd2ec0f Added Merb support. 2008-04-16 10:54:37 +01:00
Kyle Hargraves c2ace0efad Restore clicks_link_within() 2008-04-12 17:45:17 -05:00
Bryan Helmkamp 118cf0340a Fix some bugs uncovered when running the weplay scenarios 2008-04-07 20:35:06 -04:00
Bryan Helmkamp d492c4fb90 Add save_and_open_page 2008-04-07 19:29:45 -04:00
Bryan Helmkamp f38ed15704 More work on OOP implementation 2008-04-07 05:52:49 +01:00
Bryan Helmkamp 857b46fe3e In progress OOP refactoring 2008-04-05 17:49:18 +01:00
Bryan Helmkamp 9adf2193d2 Use modules for webrat extension 2008-04-04 17:12:46 +01:00
Bryan Helmkamp a0ea353e42 Bump version for eventual next release 2008-04-04 16:17:28 +01:00
Bryan Helmkamp 64a3f9816d Add hoe for gem support 2008-03-02 19:35:46 -05:00
Bryan Helmkamp a86f8ca56f Import from subversion 2008-03-02 15:14:52 -05:00