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 92be068 · Browse files · 1 file+13 added−0 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+13 added−0 removed

  • tests:+13 added−0 removed

1 file+13 added−0 removed

modified:test/view.test.js+13 added
919 unmodified lines
920921 assert.response(app,922 { url: '/' },923 { headers: { 'Content-Type': 'text/html; charset=utf8' }});924 },925 926 'test charset override': function(){927 var app = create();928 app.set('view options', { charset: 'ISO-8859-1' });929930 app.get('/', function(req, res){931 res.render('hello.jade', { charset: 'utf8' });932 });933934 assert.response(app,935 { url: '/' },936 { headers: { 'Content-Type': 'text/html; charset=utf8' }});937 }938};