Skip to content

Commit 5ff6bd3

Browse files
committed
Address legacy fact instance
1 parent 6ef9032 commit 5ff6bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/defines/config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
RSpec.describe 'sqlserver::config', type: :define do
77
let(:title) { 'MSSQLSERVER' }
8-
let(:facts) { { osfamily: 'windows', platform: 'windows', puppet_vardir: 'C:/ProgramData/PuppetLabs/puppet/var' } }
8+
let(:facts) { { os: { family: 'windows' }, platform: 'windows', puppet_vardir: 'C:/ProgramData/PuppetLabs/puppet/var' } }
99

1010
describe 'compile' do
1111
let(:params) do

0 commit comments

Comments
 (0)