Open dougireton opened 8 years ago
hi @dougireton, please never mind my previous comment. I haven't encountered that problem. I tested it in my machine.
Ok, I simulated the issue.
Is there any update on this issue?
I am writing a test for a recipe that uses multiple data bags. All but one databags have one key: value in them, "password": "some-password"
. There are no errors stubbing these out. The one that errors out as described here is of the structure "production" : { "password": "some-password" }
Summary:
ChefVault::Item.vault? mock doesn't work with String Data Bags
With this recipe snippet:
And this data bag in `test/integration/data_bags/MyVault/MyVaultId.json
And this ChefSpec test:
I get this failure:
Pry Session: