We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing trusted external data as described in https://github.com/puppetlabs/rspec-puppet/?tab=readme-ov-file#specifying-trusted-external-data doesn't work
It works :yay:
Steps to reproduce the behavior:
pdk new module foo --skip-interview && cd foo
pdk new function bar
sed -i 's,\$value \* 2,fail("Trusted external data is: ${trusted['external']}"),' functions/bar.pp
sed -i 's,# with your expectations,let(:trusted_external_data) { {'foo' => 'bar'} },g' spec/functions/bar_spec.rb
pdk test unit
=> See the output, grep for Trusted external data is: {}
Trusted external data is: {}
3.3.0
8.8.1
5.0.0
MacOS 15.1.1
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
Testing trusted external data as described in https://github.com/puppetlabs/rspec-puppet/?tab=readme-ov-file#specifying-trusted-external-data doesn't work
Expected Behavior
It works :yay:
Steps to Reproduce
Steps to reproduce the behavior:
pdk new module foo --skip-interview && cd foo
pdk new function bar
sed -i 's,\$value \* 2,fail("Trusted external data is: ${trusted['external']}"),' functions/bar.pp
sed -i 's,# with your expectations,let(:trusted_external_data) { {'foo' => 'bar'} },g' spec/functions/bar_spec.rb
pdk test unit
=> See the output, grep for
Trusted external data is: {}
Environment
3.3.0
8.8.1
5.0.0
MacOS 15.1.1
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: