From 6df3f87de9b6cb76f8a6249e261ff91df95b1ed7 Mon Sep 17 00:00:00 2001 From: dead_horse Date: Wed, 20 Aug 2014 23:40:43 +0800 Subject: [PATCH] rename all test file to *.test.js --- test/{app.js => app.test.js} | 0 test/controllers/{message.js => message.test.js} | 0 test/controllers/{status.js => status.test.js} | 0 test/controllers/{topic.js => topic.test.js} | 0 test/controllers/{upload.js => upload.test.js} | 0 test/controllers/{user.js => user.test.js} | 0 test/libs/{util.js => util.test.js} | 0 test/middlewares/{conf.js => conf.test.js} | 0 test/proxy/{message.js => message.test.js} | 0 test/proxy/{relation.js => relation.test.js} | 0 test/proxy/{reply.js => reply.test.js} | 0 test/proxy/{topic.js => topic.test.js} | 0 test/proxy/{user.js => user.test.js} | 0 test/services/{at.js => at.test.js} | 0 test/services/{mail.js => mail.test.js} | 2 +- 15 files changed, 1 insertion(+), 1 deletion(-) rename test/{app.js => app.test.js} (100%) rename test/controllers/{message.js => message.test.js} (100%) rename test/controllers/{status.js => status.test.js} (100%) rename test/controllers/{topic.js => topic.test.js} (100%) rename test/controllers/{upload.js => upload.test.js} (100%) rename test/controllers/{user.js => user.test.js} (100%) rename test/libs/{util.js => util.test.js} (100%) rename test/middlewares/{conf.js => conf.test.js} (100%) rename test/proxy/{message.js => message.test.js} (100%) rename test/proxy/{relation.js => relation.test.js} (100%) rename test/proxy/{reply.js => reply.test.js} (100%) rename test/proxy/{topic.js => topic.test.js} (100%) rename test/proxy/{user.js => user.test.js} (100%) rename test/services/{at.js => at.test.js} (100%) rename test/services/{mail.js => mail.test.js} (92%) diff --git a/test/app.js b/test/app.test.js similarity index 100% rename from test/app.js rename to test/app.test.js diff --git a/test/controllers/message.js b/test/controllers/message.test.js similarity index 100% rename from test/controllers/message.js rename to test/controllers/message.test.js diff --git a/test/controllers/status.js b/test/controllers/status.test.js similarity index 100% rename from test/controllers/status.js rename to test/controllers/status.test.js diff --git a/test/controllers/topic.js b/test/controllers/topic.test.js similarity index 100% rename from test/controllers/topic.js rename to test/controllers/topic.test.js diff --git a/test/controllers/upload.js b/test/controllers/upload.test.js similarity index 100% rename from test/controllers/upload.js rename to test/controllers/upload.test.js diff --git a/test/controllers/user.js b/test/controllers/user.test.js similarity index 100% rename from test/controllers/user.js rename to test/controllers/user.test.js diff --git a/test/libs/util.js b/test/libs/util.test.js similarity index 100% rename from test/libs/util.js rename to test/libs/util.test.js diff --git a/test/middlewares/conf.js b/test/middlewares/conf.test.js similarity index 100% rename from test/middlewares/conf.js rename to test/middlewares/conf.test.js diff --git a/test/proxy/message.js b/test/proxy/message.test.js similarity index 100% rename from test/proxy/message.js rename to test/proxy/message.test.js diff --git a/test/proxy/relation.js b/test/proxy/relation.test.js similarity index 100% rename from test/proxy/relation.js rename to test/proxy/relation.test.js diff --git a/test/proxy/reply.js b/test/proxy/reply.test.js similarity index 100% rename from test/proxy/reply.js rename to test/proxy/reply.test.js diff --git a/test/proxy/topic.js b/test/proxy/topic.test.js similarity index 100% rename from test/proxy/topic.js rename to test/proxy/topic.test.js diff --git a/test/proxy/user.js b/test/proxy/user.test.js similarity index 100% rename from test/proxy/user.js rename to test/proxy/user.test.js diff --git a/test/services/at.js b/test/services/at.test.js similarity index 100% rename from test/services/at.js rename to test/services/at.test.js diff --git a/test/services/mail.js b/test/services/mail.test.js similarity index 92% rename from test/services/mail.js rename to test/services/mail.test.js index ff12dbe..b4c09fc 100644 --- a/test/services/mail.js +++ b/test/services/mail.test.js @@ -13,7 +13,7 @@ describe('services/mail.js', function () { }); }); - xdescribe('sendAtMail', function () { + describe('sendAtMail', function () { it('should ok', function () { mail.sendAtMail(); });