Skip to content

Commit

Permalink
added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed May 31, 2024
1 parent 1caaf4a commit 4c0a8a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/classes/observium_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

it { is_expected.to compile }


if :operatingsystem == 'RedHat'
it { is_expected.to contain_service('httpd') }
elsif :operatingsystem == 'Ubuntu'
it { is_expected.to contain_service('apache2') }
end
end
end
end

0 comments on commit 4c0a8a8

Please sign in to comment.