Skip to content

Commit 594f971

Browse files
Merge pull request #1419 from puppetlabs/CAT-2148
(CAT-2148) Update package testing to account for test machine changes
2 parents 85fe3cb + 8e9cc4f commit 594f971

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package-testing/spec/package/add_gem_to_module_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe 'C100545 - Generate a module, add a gem to it, and validate it' do
44
module_name = 'c100545_module'
55

6-
describe command("pdk new module #{module_name} --skip-interview") do
6+
describe command("pdk new module #{module_name} --skip-interview --skip-interview --template-url=https://github.com/puppetlabs/pdk-templates --template-ref=main") do
77
its(:exit_status) { is_expected.to eq(0) }
88
end
99

package-testing/spec/package/airgapped_usage_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
it { is_expected.to be_file }
2323

2424
its(:content_as_json) do
25-
is_expected.to include('template-url' => a_string_matching(/\Apdk-default#[\w.-]+\Z/))
25+
is_expected.to include('template-url' => a_string_matching(/pdk-templates#main/))
2626
end
2727
end
2828
end

package-testing/spec/package/unprivileged_user_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
its(:stdout) { is_expected.to contain('testuser') }
2929
end
3030

31-
describe command("pdk new module #{module_name} --skip-interview") do
31+
describe command("pdk new module #{module_name} --skip-interview --template-url=https://github.com/puppetlabs/pdk-templates --template-ref=main") do
3232
its(:exit_status) { is_expected.to eq(0) }
3333
end
3434

package-testing/spec/package/validate_a_new_module_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
it { is_expected.to be_file }
1313

1414
its(:content_as_json) do
15-
is_expected.to include('template-url' => a_string_matching(/\Apdk-default#[\w.-]+\Z/))
15+
is_expected.to include('template-url' => a_string_matching(/pdk-templates#main/))
1616
end
1717
end
1818
end

0 commit comments

Comments
 (0)