Skip to content
Myr

more tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent f327455 · Browse files · 1 file+14 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−1 removed

  • tests:+14 added−1 removed

1 file+14 added−1 removed

modified:test/view.test.js+14 added-1 removed
896 unmodified lines
897 { url: '/' },898 { headers: { 'Content-Type': 'text/html; charset=utf8' }});899 },900 901 'test charset option': function(){901 'test charset res.render() option': function(){902 var app = create();903904 app.get('/', function(req, res){905 res.render('hello.jade', { charset: 'utf8' });
1 unmodified line
907908 assert.response(app,909 { url: '/' },910 { headers: { 'Content-Type': 'text/html; charset=utf8' }});911 },912 913 'test charset option': function(){914 var app = create();915 app.set('view options', { charset: 'utf8' });916917 app.get('/', function(req, res){918 res.render('hello.jade');919 });920921 assert.response(app,922 { url: '/' },923 { headers: { 'Content-Type': 'text/html; charset=utf8' }});924 }925};