GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: have_tag() without Rails' assert_select()
Clone URL: git://github.com/pd/rspec_hpricot_matchers.git
helps to get the selector right
pd (author)
Tue Mar 04 16:51:59 -0800 2008
commit  38347983646d0c826d4042b5df4f99bd48d41070
tree    98476bc777f8fc0629c2c27c87e06cbc02b4e43b
parent  42138ff01966d8695d80d728e1444d31524c3ea9
0
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@ Hpricot rather than merely wrapping assert_select().
0
 As its first argument, have_tag() accepts any CSS or XPath selectors
0
 which are supported by Hpricot.
0
 
0
- body.should have_tag('form[action*=session]')
0
+ body.should have_tag('form[@action*=session]')
0
     body.should have_tag('ul > li + li')
0
 
0
 Expectations can be placed upon the inner text of the matched element

Comments

    No one has commented yet.