Commit Graph

22 Commits

Author SHA1 Message Date
Bryan Helmkamp
f92f9bead8 Parse content as HTML (unless the Content-Type is XML) 2009-01-18 16:34:42 -05:00
Bryan Helmkamp
9be3f772bf Whitespace 2009-01-17 17:03:31 -05:00
Bryan Helmkamp
45c5a6a34d Remove a couple pending specs 2009-01-17 17:02:05 -05:00
Zach Dennis
cdf9908f9e Fixed bug where Scope was creating a new DOM rather than re-using the existing DOM. [#105 state:resolved] 2009-01-17 16:59:12 -05:00
Bryan Helmkamp
55bc6b8e00 Merge commit 'gaffo/lh_123' into lh_123
Conflicts:
	History.txt
2009-01-17 16:27:39 -05:00
Bryan Helmkamp
3e3d8e3659 Raise a Webrat::NotFoundError if the scope passed to #within doesn't exist [#90 state:resolved] 2009-01-17 13:27:32 -05:00
Amos King
3707262e72 make asserts count for assert_contain 2009-01-14 11:00:42 -06:00
Amos King
ea930106b6 remove commented code and make assert_contain use a true assertion 2009-01-14 10:58:48 -06:00
Mike
7bfa4c55c0 Merge branch 'lh_86_assert_contains' of git@github.com:gaffo/webrat into lh_86_assert_contains 2009-01-05 13:06:53 -06:00
Amos King
021f197abc change assert_tag and assert_no_tag to assert_have_tag and assert_no_tag so it won't conflict with rails and so that it will be more like the matchers. 2009-01-05 13:03:08 -06:00
Amos King
ff00ae10ea add have to assert_selector and assert_no_selector for consistency. 2009-01-05 12:59:56 -06:00
Amos King
f814b79ac1 change assert_xpath and assert_no_xpath to be assert_have_xpath and assert
_have_no_xpath to be closer to the rspec matcher.
2009-01-05 12:58:40 -06:00
Mike
7901c7503a Merge branch 'master' of git://github.com/brynary/webrat into lh_86_assert_contains 2009-01-05 12:33:19 -06:00
Amos King
4e0845c8db Added assert_xpath and assert_no_xpath for Test::Unit support. 2009-01-05 12:23:48 -06:00
Josh Knowles
9825aee47e Don't follow external redirects 2009-01-04 23:56:52 -05:00
gaffo
fece459f5f added assert_selector 2009-01-04 18:00:18 -06:00
gaffo
cf1589823d added assert_tag, assert_no_tag 2009-01-04 17:42:54 -06:00
gaffo
0f0dab0b0b Upaded to webrat newest
Signed-off-by: gaffo <mike@uberu.com>
2009-01-04 15:21:14 -06:00
Josh Knowles
e19b1cc323 Rails and Merb integration tests for following redirects 2008-12-29 23:14:26 -05:00
Josh Knowles
e77495bc04 Refactor redirect handling as Merb response doesn't support the redirect? method. All integration specs now passing again. 2008-12-29 22:45:55 -05:00
Josh Knowles
ce364d1663 Refactor redirect support out of RailsSession & SinatraSession and into Session#request_page 2008-12-29 21:19:13 -05:00
Bryan Helmkamp
b4dd150250 Moving spec/webrat to spec/private and spec/api to spec/public (a la Merb) 2008-12-29 01:06:04 -05:00