Skip to content

Commit

Permalink
(maint) Fix bug in plan_spec integration test
Browse files Browse the repository at this point in the history
Previously the `target` argument was not being properly resolved in the argument array resulting in the literal string `#{target}` being used instead of the resolved value.

!no-release-note
  • Loading branch information
donoghuc committed May 20, 2024
1 parent 14f8e38 commit e2d4292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/plan_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

it "prints the spinner when running executor functions", ssh: true do
expect_any_instance_of(Bolt::Outputter::Human).to receive(:start_spin).at_least(:once)
run_cli(%w[plan run sample::noop --targets #{target}] + config_flags, **opts)
run_cli(%W[plan run sample::noop --targets #{target}] + config_flags, **opts)
end

it "doesn't print the spinner when running non-executor functions", ssh: true do
Expand Down

0 comments on commit e2d4292

Please sign in to comment.