Skip to content

Commit

Permalink
refine test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Dec 5, 2016
1 parent 5fa388d commit eb09478
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 363 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -28,15 +28,16 @@
"coveralls": "*",
"mocha-lcov-reporter": "*",
"istanbul": "*",
"methods": "*"
"methods": "*",
"supertest": "^2.0.1"
},
"scripts": {
"test": "make test"
},
"bugs": {
"url": "https://github.com/JacksonTian/ejs-mate/issues"
},
"main": "index.js",
"main": "lib/index.js",
"directories": {
"example": "example",
"test": "test"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/blog/home.ejs
@@ -1 +1 @@
<h1><%-partial('user',user)%></h1><ul><%-partial('post',posts)%></ul>
<h1><%-partial('user',user)%></h1><ul><%-partial('post',posts)%></ul>
2 changes: 1 addition & 1 deletion test/fixtures/blog/user.ejs
@@ -1 +1 @@
<%=user.name%>
<%=user.name%>
2 changes: 1 addition & 1 deletion test/fixtures/collection.ejs
@@ -1 +1 @@
<ul><%- partial(name,list) %></ul>
<ul><%- partial(name, list) %></ul>
1 change: 0 additions & 1 deletion test/fixtures/filters-custom.ejs

This file was deleted.

1 change: 0 additions & 1 deletion test/fixtures/filters.ejs

This file was deleted.

103 changes: 0 additions & 103 deletions test/support/http.js

This file was deleted.

0 comments on commit eb09478

Please sign in to comment.