[Groonga-commit] groonga/gcs [master] Update expected error response body

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 21日 (木) 15:51:44 JST


SHIMODA Hiroshi	2012-06-21 15:51:44 +0900 (Thu, 21 Jun 2012)

  New Revision: 29205152fde71e7d2944ca82f0feedde79315761
  https://github.com/groonga/gcs/commit/29205152fde71e7d2944ca82f0feedde79315761

  Log:
    Update expected error response body

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+2 -2)
===================================================================
--- test/api-configuration.test.js    2012-06-21 15:47:46 +0900 (1917589)
+++ test/api-configuration.test.js    2012-06-21 15:51:44 +0900 (9eb1ac5)
@@ -120,8 +120,8 @@ suite('Configuration API', function() {
     var path = '/?Version=2011-02-02';
     utils.get(path)
       .next(function(response) {
-        var message = 'A bad or out-of-range value "' + version +
-                      '" was supplied for the "Version" input parameter.';
+        var message = 'A bad or out-of-range value "2011-02-02" was supplied ' +
+                      'for the "Version" input parameter.';
         var expected = {
               statusCode: 400,
               body: createCommonErrorResponse('InvalidParameterValue', message)
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index