Permalink
Browse files

Separated two tests with the same name.

  • Loading branch information...
1 parent 9dd2f1b commit b56b9db17fd58d60636ce84dd9059ffa2ad11d02 @assaf committed Feb 21, 2011
Showing with 7 additions and 4 deletions.
  1. +3 −0 CHANGELOG.md
  2. +4 −4 spec/browser-spec.coffee
View
@@ -1,6 +1,9 @@
zombie.js-changelog(7) -- Changelog
===================================
+### Version 0.9.2 Pending
+
+
### Version 0.9.1 2011-02-17
Some internal changes to history. Breaks iframe.
@@ -201,14 +201,14 @@ vows.describe("Browser").addBatch(
"query text":
topic: (browser)-> browser
"should query from document": (browser)-> assert.equal browser.text(".now"), "Walking Aimlessly"
- "should query from context": (browser)-> assert.equal browser.text(".now", browser.body), "Walking Aimlessly"
- "should query from context": (browser)-> assert.equal browser.text(".now", browser.querySelector("#main")), ""
+ "should query from context (exists)": (browser)-> assert.equal browser.text(".now", browser.body), "Walking Aimlessly"
+ "should query from context (unrelated)": (browser)-> assert.equal browser.text(".now", browser.querySelector("#main")), ""
"should combine multiple elements": (browser)-> assert.equal browser.text("form label"), "Email Password "
"query html":
topic: (browser)-> browser
"should query from document": (browser)-> assert.equal browser.html(".now"), "<div class=\"now\">Walking Aimlessly</div>"
- "should query from context": (browser)-> assert.equal browser.html(".now", browser.body), "Walking Aimlessly"
- "should query from context": (browser)-> assert.equal browser.html(".now", browser.querySelector("#main")), ""
+ "should query from context (exists)": (browser)-> assert.equal browser.html(".now", browser.body), "<div class=\"now\">Walking Aimlessly</div>"
+ "should query from context (unrelated)": (browser)-> assert.equal browser.html(".now", browser.querySelector("#main")), ""
"should combine multiple elements": (browser)-> assert.equal browser.html("title, #main a"), "<title>The Living</title><a href=\"/dead\">Kill</a>"
"click link":

0 comments on commit b56b9db

Please sign in to comment.