opscode/chef — pull request #1235 by sawanoboly (2014-01-28 04:55:52+00:00)
Title: CHEF-4990

pull request of CHEF-4990

```
Chef::Provider::Service::Solaris
should raise an error if /bin/svcs does not exist
on a host with /bin/svcs
when discovering the current service state
should create a current resource with the name of the new resource
should return the current resource
should call '/bin/svcs -l service_name'
should mark service as not running
should mark service as running
should not mark service as maintenance # new
should mark service as maintenance # new
when enabling the service
should call svcadm enable -s chef
should call svcadm enable -s chef for start_service
should call svcadm clear chef for start_service when state maintenance # new
when disabling the service
should call svcadm disable -s chef
should call svcadm disable -s chef for stop_service
when reloading the service
should call svcadm refresh chef

Finished in 0.08953 seconds
14 examples, 0 failures
```