Skip to content

Commit 92ba7fb

Browse files
committed
Fixed issue where collection folder name for paths were having extra spaces
1 parent 735190c commit 92ba7fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/base.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,8 +1287,7 @@ describe('CONVERT FUNCTION TESTS ', function() {
12871287
expect(conversionResult.output[0].data).to.have.property('info');
12881288
expect(conversionResult.output[0].data).to.have.property('item');
12891289
expect(conversionResult.output[0].data.item.length).to.equal(2);
1290-
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include('pets');
1291-
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include('pet/{petId}');
1290+
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include.members(['pets', 'pet/{petId}']);
12921291
done();
12931292
});
12941293
});

0 commit comments

Comments
 (0)