Skip to content

Commit 355538d

Browse files
committed
Fix test names to accurately reflect their purpose
1 parent c5a349b commit 355538d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/strategy.normal.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('Strategy', function() {
105105
});
106106
});
107107

108-
describe('handling a request without a body, but no username and password', function() {
108+
describe('handling a request with a body, but no username and password', function() {
109109
var strategy = new Strategy(function(username, password, done) {
110110
throw new Error('should not be called');
111111
});
@@ -132,7 +132,7 @@ describe('Strategy', function() {
132132
});
133133
});
134134

135-
describe('handling a request without a body, but no password', function() {
135+
describe('handling a request with a body, but no password', function() {
136136
var strategy = new Strategy(function(username, password, done) {
137137
throw new Error('should not be called');
138138
});
@@ -160,7 +160,7 @@ describe('Strategy', function() {
160160
});
161161
});
162162

163-
describe('handling a request without a body, but no username', function() {
163+
describe('handling a request with a body, but no username', function() {
164164
var strategy = new Strategy(function(username, password, done) {
165165
throw new Error('should not be called');
166166
});

test/strategy.options.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ var chai = require('chai')
66

77

88
describe('Strategy', function() {
9-
10-
describe('handling a request without a body, but no username and password, with message option to authenticate', function() {
9+
10+
describe('handling a request with a body, but no username and password, with message option to authenticate', function() {
1111
var strategy = new Strategy(function(username, password, done) {
1212
throw new Error('should not be called');
1313
});

0 commit comments

Comments
 (0)