Skip to content

Commit 9adf3f6

Browse files
committed
Fixed unit-tests.
1 parent a43cb78 commit 9adf3f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/controllers/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ function viewIndex() {
470470
assert.ok(self.routeStatic('/p.zip') === '/p.zip', name + 'routeStatic()');
471471

472472
self.layout('');
473-
assert.ok(self.view('test', null, true) === 'total.js', name + 'view');
473+
assert.ok(self.view('test', null, true) === 'Total.js', name + 'view');
474474
assert.ok(self.url === '/', name + 'url');
475475

476476
self.status = 404;

test/modules/inline-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ exports.install = function() {
77
exports.installed = true;
88
framework.route('/inline-view-route/');
99
setTimeout(function() {
10-
assert.ok(framework.view('view') === '<div>total.js</div><script>var a=1+1;</script>', 'framework.view()');
10+
assert.ok(framework.view('view') === '<div>Total.js</div><script>var a=1+1;</script>', 'framework.view()');
1111
}, 100);
1212
};

0 commit comments

Comments
 (0)