null+****@clear*****
null+****@clear*****
2012年 8月 2日 (木) 13:35:10 JST
SHIMODA Hiroshi 2012-08-02 13:35:10 +0900 (Thu, 02 Aug 2012) New Revision: a8f2602a22c4c61a02041870c92165fe96590794 https://github.com/groonga/gcs/commit/a8f2602a22c4c61a02041870c92165fe96590794 Log: Fix test of DeleteDomain action Modified files: test/api-configuration.test.js Modified: test/api-configuration.test.js (+5 -1) =================================================================== --- test/api-configuration.test.js 2012-08-02 13:33:49 +0900 (74674b7) +++ test/api-configuration.test.js 2012-08-02 13:35:10 +0900 (e284196) @@ -267,15 +267,19 @@ suite('Configuration API', function() { }); test('Get, Action=DeleteDomain', function(done) { + var domain; utils .get('/?DomainName=companies&Action=CreateDomain&Version=2011-02-01', { 'Host': 'cloudsearch.localhost' }) + .next(function() { + domain = new Domain('companies', context); + assert.isTrue(domain.exists()); + }) .get('/?DomainName=companies&Action=DeleteDomain&Version=2011-02-01', { 'Host': 'cloudsearch.localhost' }) .next(function(response) { - var domain = new Domain('companies', context); assert.isFalse(domain.exists()); response = toParsedResponse(response); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download