Permalink
Browse files

Fixing failing tests

  • Loading branch information...
1 parent ab1a709 commit 4e4335cc4b9e8869813fc53e5eb7b0ec670eac91 @smacintyre smacintyre committed Dec 14, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 test/browser.navigation.test.js
  2. +2 −2 test/jquery.test.js
@@ -278,7 +278,7 @@ module.exports = {
var googBrowser = Browser.browsers['github.com']
googBrowser.should.have.property('path', '/');
googBrowser.history.should.eql(['/']);
- googBrowser.jQuery('img[alt="github"]').should.not.be.empty;
+ googBrowser.jQuery('img[alt="GitHub"]').should.not.be.empty;
done();
});
},
@@ -313,7 +313,7 @@ module.exports = {
Browser.browsers.should.have.property('bit.ly');
Browser.browsers.should.have.property('nodejs.org');
var nodeBrowser = Browser.browsers['nodejs.org'];
- nodeBrowser.jQuery('img[alt="node.js"]').length.should.equal(1);
+ nodeBrowser.jQuery('img[alt="node.js"]').length.should.equal(2);
done();
});
},
View
@@ -19,7 +19,7 @@ module.exports = {
+ '<input type="radio" name="signature" value="hide" />'
+ '<input type="checkbox" name="agreement" value="ageed" />'
+ '<input type="checkbox" name="email" value="yes" checked="checked" />'
- + '<select name="province">'
+ + '<select name="province" multiple="true">'
+ ' <option value="bc">British Columbia</option>'
+ ' <option value="ab">Alberta</option>'
+ '</select>'
@@ -50,4 +50,4 @@ module.exports = {
$('select > option[value=bc]').should.not.be.selected;
$('select > option[value=ab]').should.be.selected;
}
-};
+};

0 comments on commit 4e4335c

Please sign in to comment.