Navigation Menu

Skip to content

Commit

Permalink
Specify domain name for DescribeIndexFields action
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 3, 2012
1 parent 12a2ae6 commit bc605d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/api-configuration.test.js
Expand Up @@ -661,7 +661,8 @@ suite('Configuration API', function() {
.get('/?DomainName=companies&IndexField.IndexFieldName=product&' +
'IndexField.IndexFieldType=literal&' +
'Action=DefineIndexField&Version=2011-02-01')
.get('/?Action=DescribeIndexFields&Version=2011-02-01', {
.get('/?Action=DescribeIndexFields&Version=2011-02-01' +
'&DomainName=companies', {
'Host': 'cloudsearch.localhost'
})
.next(function(response) {
Expand Down Expand Up @@ -700,6 +701,7 @@ suite('Configuration API', function() {
'IndexField.IndexFieldType=literal&' +
'Action=DefineIndexField&Version=2011-02-01')
.get('/?Action=DescribeIndexFields&Version=2011-02-01' +
'&DomainName=companies' +
'&FieldNames.member.1=name' +
'&FieldNames.member.2=age', {
'Host': 'cloudsearch.localhost'
Expand Down

0 comments on commit bc605d9

Please sign in to comment.