From 36aafe5024f8c7f1b7c4a9581edee0409570618e Mon Sep 17 00:00:00 2001 From: alex501212 Date: Wed, 19 Mar 2025 11:57:47 +0000 Subject: [PATCH] update tests to use puppet 8 --- spec/integration/apply_spec.rb | 4 ++-- spec/integration/cli/cli_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/integration/apply_spec.rb b/spec/integration/apply_spec.rb index 04a30c4f9..e067aa710 100644 --- a/spec/integration/apply_spec.rb +++ b/spec/integration/apply_spec.rb @@ -394,7 +394,7 @@ 'plugin' => 'task', 'task' => 'puppet_agent::install', 'parameters' => { - 'version' => '7.0.0' + 'version' => '8.0.0' } } } @@ -418,7 +418,7 @@ result = results['items'] expect(result.count).to eq(1) expect(result[0]).to include('status' => 'success') - expect(result[0]['value']['version']).to match(/^7\.0/) + expect(result[0]['value']['version']).to match(/^8\.0/) end end end diff --git a/spec/integration/cli/cli_spec.rb b/spec/integration/cli/cli_spec.rb index 03de8ecaf..44f9ca3e7 100644 --- a/spec/integration/cli/cli_spec.rb +++ b/spec/integration/cli/cli_spec.rb @@ -429,7 +429,7 @@ ['sample::params', 'Task with parameters'] ) - expect(@log_output.readlines).to include(/unexpected token/) + expect(@log_output.readlines).to include(/expected object key/) end end end