Permalink
Browse files

Fixing all the other specs for the new HTML

  • Loading branch information...
Carl Lerche
Carl Lerche committed Oct 22, 2008
1 parent 6554322 commit 399fdb33d15f73ad44c18ad19460da6704e4a905
Showing with 6 additions and 2 deletions.
  1. +2 −2 spec/any_element_spec.rb
  2. +4 −0 spec/spec_helper.rb
View
@@ -2,12 +2,12 @@
describe "*" do
it "should get a list of all nodes" do
- HTML.should have_nodes("*", 8)
+ HTML.should have_nodes("*", 12)
end
end
describe "E *" do
it "should get a list of descendant nodes of E" do
- HTML.should have_nodes("div *", 4)
+ HTML.should have_nodes("div *", 5)
end
end
View
@@ -11,7 +11,11 @@
<span food='bar' class='bar foo'>is wycats</span>
<span foo='bar baz' class='food'>Span</span>
<span foo='baz bar'>Span</span>
+ <div>Some other nested div</div>
</div>
+ <div sibling="yep">This is a sibling yo</div>
+ <p class="top">Some other paragraph</p>
+ <p class="middle">One more paragraph</p>
<p>Some text</p>
</body>
</html>

0 comments on commit 399fdb3

Please sign in to comment.