Skip to content

Commit

Permalink
add spec tests for legacy osfamily and operatingsystem facts
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jan 27, 2022
1 parent 8846969 commit cc06549
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/facts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cc06549

Please sign in to comment.