Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Pridani Testacularu
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubMrozek committed Nov 21, 2012
1 parent d7997bd commit 5dc3cb0
Show file tree
Hide file tree
Showing 13 changed files with 1,829 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"should": "1.2.x",
"horaa": "0.1.x",
"jshint": "0.9.x",
"grunt": "0.3.x"
"grunt": "0.3.x",
"testacular": "0.4.x"
},
"repository": {
"type": "git",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var error = require(process.cwd() + '/middleware/error');
var NotAcceptable = require(process.cwd() + '/lib/error').NotAcceptable;

describe('middleware error', function(){
describe('middleware error', function(){

it('pri aplikacni chybe odesle do prohlizece kod a zpravu', function(){
var err = new NotAcceptable();
Expand All @@ -23,7 +23,7 @@ describe('middleware error', function(){
var next = function(err) {
err.should.eql('err');
};
error()(err, req, res, next);
error()(err, req, res, next);
});

});
File renamed without changes.
Loading

0 comments on commit 5dc3cb0

Please sign in to comment.