Skip to content

Commit

Permalink
Fix acceptance tests to match correct shape from API repsonse
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin McQuay committed Jun 23, 2016
1 parent 8ca750b commit 2b44b52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/acceptance/OperationHelper.specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ describe('OperationHelper', () => {

it('returns a sane looking response', () => {
expect(result.ItemSearchResponse).to.exist
expect(result.ItemSearchResponse.Items.length).to.equal(1)
expect(result.ItemSearchResponse.Items[0].Item[0].ItemAttributes[0].Author[0]).to.equal('J.K. Rowling')
expect(result.ItemSearchResponse.Items.Item.length).to.be.at.least(1)
expect(result.ItemSearchResponse.Items.Item[0].ItemAttributes.Author[0]).to.equal('J.K. Rowling')
})
})
})
})

0 comments on commit 2b44b52

Please sign in to comment.