Skip to content

Commit

Permalink
update test to return value instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
alex501212 committed Oct 30, 2024
1 parent f5f43c2 commit 335bbb0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/integration/lookup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,9 @@

context 'with interpolations' do
let(:hiera_config) { File.join(project, 'hiera_interpolations.yaml') }

it 'returns an error' do
it 'returns a value' do
result = run_cli_json(cli_command + %w[key=test::interpolations])
expect(result).to include(
'kind' => 'bolt/pal-error',
'msg' => /Interpolations are not supported in lookups/
)
expect(result).to eq('test::interpolations data/common.yaml')
end
end

Expand Down

0 comments on commit 335bbb0

Please sign in to comment.