Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Remove unneeded expectOK helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Fotios Lindiakos committed Aug 25, 2016
1 parent 9b632df commit 7e4e192
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/2.0/test-middleware-swagger-security.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,6 @@ _.forEach([
// Delete global security
delete petStoreJson.security;

var expectOK = function(done) {
return function(err, res) {
if(err) {
return done(err);
}
helpers.expectContent('OK')(err, res);
done();
};
};

// TODO: Remove this .only before merging
describe.only('Swagger Security Middleware v2.0', function () {
it('should call middleware when secured', function(done) {
Expand Down

0 comments on commit 7e4e192

Please sign in to comment.