tests: fix typos in test descriptions

closes #3129
closes #3130
This commit is contained in:
Vishvajit Pathak 2016-11-17 12:43:14 +05:30 committed by Douglas Christopher Wilson
parent 305f982bd7
commit bd47aeb88d
6 changed files with 10 additions and 10 deletions

View File

@ -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();

View File

@ -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){

View File

@ -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){

View File

@ -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){

View File

@ -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){

View File

@ -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){