diff --git a/spec/facts_spec.rb b/spec/facts_spec.rb index 46b382fc..7e414cc6 100644 --- a/spec/facts_spec.rb +++ b/spec/facts_spec.rb @@ -110,6 +110,12 @@ expect(content['fqdn']).to eq('foo.example.com') expect(content['domain']).to eq('example.com') end + it 'contains the legacy osfamily fact' do + expect(content['osfamily']).to_not be_nil + end + it 'contains the legacy operatingsystem fact' do + expect(content['operatingsystem']).to_not be_nil + end end end end