Skip to content

Commit 93ddc06

Browse files
ekohlehelms
authored andcommitted
Avoid using legacy facts in tests
1 parent 6bf7245 commit 93ddc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/certs_apache_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
it { should compile.with_all_deps }
2020

2121
it do
22-
is_expected.to contain_certs__keypair("#{facts[:fqdn]}-apache")
22+
is_expected.to contain_certs__keypair("#{facts[:networking]['fqdn']}-apache")
2323
.with_key_group('foreman')
2424
end
2525
end

0 commit comments

Comments
 (0)