Fix tests.

This commit is contained in:
André Cruz
2013-05-23 20:02:18 +01:00
parent 680ac9825a
commit 27b39c29b8
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ function install(endpoints, options) {
options = options || {};
// Sanitize endpoints
// If endpoints are an empty array, null them
if (endpoints && !endpoints.length) {
endpoints = null;
}