Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-l committed Sep 26, 2015
1 parent 3a21e43 commit f23434d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/shows.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('shows', function () {
'_design/designer': {
shows: {
docName: 'function(doc, req){\nreturn doc.name;\n}',
general: 'function(doc, req){\nreturn \"It\'s works!\";\n}',
general: 'function(doc, req){\nreturn \"It works!\";\n}',
headers: 'function(doc, req){\nreturn{\nheaders:{\n\'X-My-Own-Header\':\'you can set your own headers\'\n},\nbody: \'SimpleText\'\n};}',
nullDoc: 'function(doc, req){\nreturn doc.name;\n}'
}
Expand All @@ -51,10 +51,10 @@ describe('shows', function () {
get = show_fn(mock_mock);
});

it('should return the text, It\'s works!', function () {
it('should return the text, It works!', function () {
get({params: {db: 'people', designdoc: 'designer', name: 'general'}}, res, dummy_function);
expect(statusCode).toBe(200);
expect(result).toBe('It\'s works!');
expect(result).toBe('It works!');
});

it('should set X-My-Own-Header to header and return SimpleText', function () {
Expand Down

0 comments on commit f23434d

Please sign in to comment.