Skip to content

Commit f0f8786

Browse files
Merge pull request #1416 from puppetlabs/CAT-2159
(CAT-2159) Update template-ref used in tests to resolve failures
2 parents 8dcfbb5 + 310c173 commit f0f8786

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/acceptance/template_ref_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'pdk', 'new', 'module', 'foo',
1515
'--skip-interview',
1616
'--template-url', 'https://github.com/puppetlabs/pdk-templates',
17-
'--template-ref', '2.7.1'
17+
'--template-ref', '3.0.0'
1818
]
1919

2020
around do |example|
@@ -34,20 +34,20 @@
3434
it { is_expected.to be_file }
3535

3636
its(:content_as_json) do
37-
is_expected.to include('template-ref' => match(/2\.7\.1/))
37+
is_expected.to include('template-ref' => match(/3\.0\.0/))
3838
end
3939
end
4040
end
4141

4242
context 'and then updating the module to a specific ref' do
4343
before(:all) { Dir.chdir('foo') }
4444

45-
describe command('pdk update --template-ref 2.7.4 --force') do
45+
describe command('pdk update --template-ref 3.2.0 --force') do
4646
its(:exit_status) { is_expected.to eq(0) }
4747

4848
describe file('metadata.json') do
4949
its(:content_as_json) do
50-
is_expected.to include('template-ref' => match(/2\.7\.4/))
50+
is_expected.to include('template-ref' => match(/3\.2\.0/))
5151
end
5252
end
5353
end

0 commit comments

Comments
 (0)