Use more descriptive test names.

This commit is contained in:
Brad Dunbar
2015-04-28 06:56:40 -04:00
parent 21180e7234
commit 24daf350e4

View File

@@ -932,7 +932,7 @@
Backbone.history.start({root: '/root', pushState: true});
});
test("Paths that don't match the root should not match", 0, function() {
test("Paths that don't match the root should not match no root", 0, function() {
location.replace('http://example.com/foo');
Backbone.history.stop();
Backbone.history = _.extend(new Backbone.History, {location: location});
@@ -944,7 +944,7 @@
Backbone.history.start({root: 'root', pushState: true});
});
test("Paths that don't match the root should not match", 0, function() {
test("Paths that don't match the root should not match roots of the same length", 0, function() {
location.replace('http://example.com/xxxx/foo');
Backbone.history.stop();
Backbone.history = _.extend(new Backbone.History, {location: location});