Skip to content

Commit 1b7a273

Browse files
committed
Rename initialize to constructor for tests
1 parent 3b277c9 commit 1b7a273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/infinite-pageable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(document).ready(function () {
3434
deepEqual(col.options, clone.options);
3535
});
3636

37-
test("initialize", function () {
37+
test("constructor", function () {
3838
ok(col.fullCollection instanceof Backbone.Collection);
3939
strictEqual(col.url, "url");
4040
strictEqual(col.mode, "infinite");

test/server-pageable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ $(document).ready(function () {
155155
strictEqual(state.lastPage, 1);
156156
});
157157

158-
test("extend and initialize", function () {
158+
test("extend and constructor", function () {
159159

160160
// test extending state and query params merge with defaults in prototype too
161161
var col = new (Backbone.PageableCollection.extend({

0 commit comments

Comments
 (0)