Fixed issue where collection folder name for paths were having extra spaces

This commit is contained in:
Vishal Shingala
2022-11-25 13:42:25 +05:30
parent 735190c750
commit 92ba7fb81f

View File

@@ -1287,8 +1287,7 @@ describe('CONVERT FUNCTION TESTS ', function() {
expect(conversionResult.output[0].data).to.have.property('info');
expect(conversionResult.output[0].data).to.have.property('item');
expect(conversionResult.output[0].data.item.length).to.equal(2);
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include('pets');
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include('pet/{petId}');
expect(_.map(conversionResult.output[0].data.item, 'name')).to.include.members(['pets', 'pet/{petId}']);
done();
});
});