Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixing tests for IE / Webkit ... regex, not string match.
  • Loading branch information
jashkenas committed May 23, 2011
1 parent d8edb5d commit a5d01f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/view.js
Expand Up @@ -16,8 +16,8 @@ $(document).ready(function() {

test("View: jQuery", function() {
view.el = document.body;
equals(view.$('#qunit-header a').get(0).innerHTML, ' Backbone Test Suite');
equals(view.$('#qunit-header a').get(1).innerHTML, 'Backbone Speed Suite');
ok(view.$('#qunit-header a').get(0).innerHTML.match(/Backbone Test Suite/));
ok(view.$('#qunit-header a').get(1).innerHTML.match(/Backbone Speed Suite/));
});

test("View: make", function() {
Expand Down

0 comments on commit a5d01f9

Please sign in to comment.