Skip to content
New issue

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

rm spec testing to see if Sensitive values are not unwrapped #149

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions spec/defines/job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,6 @@
end
end

context 'job with sensitive environment' do
let(:params) do
{
command: '/bin/true',
environment: [sensitive('KEY=value')]
}
end

it do
is_expected.to compile
is_expected.to contain_file("job_#{title}").with_content('Sensitive [value redacted]')
end
end

# Multiple test cases for variations on time field values
params_cases.each do |desc, p|
context "job with #{desc}" do
Expand Down
Loading