parent
305f982bd7
commit
bd47aeb88d
@ -72,7 +72,7 @@ describe('OPTIONS', function(){
|
||||
.expect(200, 'GET,HEAD', done);
|
||||
})
|
||||
|
||||
describe('when error occurs in respone handler', function () {
|
||||
describe('when error occurs in response handler', function () {
|
||||
it('should pass error to callback', function (done) {
|
||||
var app = express();
|
||||
var router = express.Router();
|
||||
|
@ -757,7 +757,7 @@ describe('app.router', function(){
|
||||
.expect('editing tj (old)', cb);
|
||||
})
|
||||
|
||||
it('should work inside literal paranthesis', function(done){
|
||||
it('should work inside literal parenthesis', function(done){
|
||||
var app = express();
|
||||
|
||||
app.get('/:user\\(:op\\)', function(req, res){
|
||||
|
@ -4,7 +4,7 @@ var express = require('../')
|
||||
|
||||
describe('req', function(){
|
||||
describe('.acceptsEncoding', function(){
|
||||
it('should be true if encoding accpeted', function(done){
|
||||
it('should be true if encoding accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
@ -19,7 +19,7 @@ describe('req', function(){
|
||||
.expect(200, done);
|
||||
})
|
||||
|
||||
it('should be false if encoding not accpeted', function(done){
|
||||
it('should be false if encoding not accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
|
@ -4,7 +4,7 @@ var express = require('../')
|
||||
|
||||
describe('req', function(){
|
||||
describe('.acceptsEncodingss', function(){
|
||||
it('should be true if encoding accpeted', function(done){
|
||||
it('should be true if encoding accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
@ -19,7 +19,7 @@ describe('req', function(){
|
||||
.expect(200, done);
|
||||
})
|
||||
|
||||
it('should be false if encoding not accpeted', function(done){
|
||||
it('should be false if encoding not accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
|
@ -4,7 +4,7 @@ var express = require('../')
|
||||
|
||||
describe('req', function(){
|
||||
describe('.acceptsLanguage', function(){
|
||||
it('should be true if language accpeted', function(done){
|
||||
it('should be true if language accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
@ -19,7 +19,7 @@ describe('req', function(){
|
||||
.expect(200, done);
|
||||
})
|
||||
|
||||
it('should be false if language not accpeted', function(done){
|
||||
it('should be false if language not accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
|
@ -4,7 +4,7 @@ var express = require('../')
|
||||
|
||||
describe('req', function(){
|
||||
describe('.acceptsLanguages', function(){
|
||||
it('should be true if language accpeted', function(done){
|
||||
it('should be true if language accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
@ -19,7 +19,7 @@ describe('req', function(){
|
||||
.expect(200, done);
|
||||
})
|
||||
|
||||
it('should be false if language not accpeted', function(done){
|
||||
it('should be false if language not accepted', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
|
Loading…
Reference in New Issue
Block a user