[Groonga-commit] groonga/gcs [master] Update tests around host name

Back to archive index

SHIMODA Hiroshi null+****@clear*****
Wed Aug 15 15:31:32 JST 2012


SHIMODA Hiroshi	2012-08-15 15:31:32 +0900 (Wed, 15 Aug 2012)

  New Revision: 3557a8f0c4a63bafe364b56ad39bbb0b73bb2824
  https://github.com/groonga/gcs/commit/3557a8f0c4a63bafe364b56ad39bbb0b73bb2824

  Log:
    Update tests around host name

  Modified files:
    test/api-search.test.js
    test/dashboard.test.js
    test/test-utils.js

  Modified: test/api-search.test.js (+1 -1)
===================================================================
--- test/api-search.test.js    2012-08-15 15:29:22 +0900 (323be03)
+++ test/api-search.test.js    2012-08-15 15:31:32 +0900 (34cee29)
@@ -23,7 +23,7 @@ suite('Search API', function() {
   function testSearch(path, message, host, callback) {
     test('GET ' + path + ' ' + message, function(done) {
       var options = {
-        host: utils.testHost,
+        host: utils.testBaseHost,
         port: utils.testPort,
         path: path,
         headers: {Host: host}

  Modified: test/dashboard.test.js (+2 -2)
===================================================================
--- test/dashboard.test.js    2012-08-15 15:29:22 +0900 (5f2a2ed)
+++ test/dashboard.test.js    2012-08-15 15:31:32 +0900 (89e3370)
@@ -16,7 +16,7 @@ suite('dashboard', function() {
 
   test('GET /', function(done) {
     var options = {
-      host: utils.testHost,
+      host: utils.testBaseHost,
       port: utils.testPort,
       path: '/'
     };
@@ -35,7 +35,7 @@ suite('dashboard', function() {
 
   test('GET /javascripts/templates.js', function(done) {
     var options = {
-      host: utils.testHost,
+      host: utils.testBaseHost,
       port: utils.testPort,
       path: '/javascripts/templates.js'
     };

  Modified: test/test-utils.js (+1 -1)
===================================================================
--- test/test-utils.js    2012-08-15 15:29:22 +0900 (5071246)
+++ test/test-utils.js    2012-08-15 15:31:32 +0900 (cd10396)
@@ -32,7 +32,7 @@ function sendRequest(method, path, postData, headers) {
   var deferred = new Deferred();
 
   var options = {
-        host: testHost,
+        host: testBaseHost,
         port: testPort,
         path: path,
         method: method,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index