docs/resources/upstart_service.md.erb in inspec-1.40.0 vs docs/resources/upstart_service.md.erb in inspec-1.41.0

- old
+ new

@@ -4,10 +4,12 @@ # upstart_service Use the `upstart_service` InSpec audit resource to test a service using Upstart. +<br> + ## Syntax An `upstart_service` resource block declares the name of a service and then one (or more) matchers to test the state of the service: describe upstart_service('service_name') do @@ -27,18 +29,16 @@ it { should be_enabled } it { should be_installed } it { should be_running } end +<br> + ## Matchers -This InSpec audit resource has the following matchers: +This InSpec audit resource has the following matchers. For a full list of available matchers please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). -### be - -<%= partial "/shared/matcher_be" %> - ### be_enabled The `be_enabled` matcher tests if the named service is enabled: it { should be_enabled } @@ -52,25 +52,5 @@ ### be_running The `be_running` matcher tests if the named service is running: it { should be_running } - -### cmp - -<%= partial "/shared/matcher_cmp" %> - -### eq - -<%= partial "/shared/matcher_eq" %> - -### include - -<%= partial "/shared/matcher_include" %> - -### match - -<%= partial "/shared/matcher_match" %> - -## Examples - -None.