From 310c1736a279318f0ea88a03306cdc5044a65592 Mon Sep 17 00:00:00 2001 From: david22swan Date: Mon, 11 Nov 2024 11:21:11 +0000 Subject: [PATCH] (CAT-2159) Update template-ref used in tests to resolve failures --- spec/acceptance/template_ref_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/acceptance/template_ref_spec.rb b/spec/acceptance/template_ref_spec.rb index 218ac404c..3791b774e 100644 --- a/spec/acceptance/template_ref_spec.rb +++ b/spec/acceptance/template_ref_spec.rb @@ -14,7 +14,7 @@ 'pdk', 'new', 'module', 'foo', '--skip-interview', '--template-url', 'https://github.com/puppetlabs/pdk-templates', - '--template-ref', '2.7.1' + '--template-ref', '3.0.0' ] around do |example| @@ -34,7 +34,7 @@ it { is_expected.to be_file } its(:content_as_json) do - is_expected.to include('template-ref' => match(/2\.7\.1/)) + is_expected.to include('template-ref' => match(/3\.0\.0/)) end end end @@ -42,12 +42,12 @@ context 'and then updating the module to a specific ref' do before(:all) { Dir.chdir('foo') } - describe command('pdk update --template-ref 2.7.4 --force') do + describe command('pdk update --template-ref 3.2.0 --force') do its(:exit_status) { is_expected.to eq(0) } describe file('metadata.json') do its(:content_as_json) do - is_expected.to include('template-ref' => match(/2\.7\.4/)) + is_expected.to include('template-ref' => match(/3\.2\.0/)) end end end