Sha256: 8b591b8374fde929179d7627e0e57005cbdf7dd3e9568f2092554e420473fd6e
Contents?: true
Size: 621 Bytes
Versions: 5
Compression:
Stored size: 621 Bytes
Contents
require 'spec_helper' set :os, :family => 'darwin' describe commands.command_class('service').create do it { should be_an_instance_of(Specinfra::Command::Darwin::Base::Service) } end describe service('sshd') do it { should be_enabled } end describe service('invalid-service') do it { should_not be_enabled } end describe service('sshd') do it { should be_enabled.with_level(4) } end describe service('invalid-service') do it { should_not be_enabled.with_level(4) } end describe service('sshd') do it { should be_running } end describe service('invalid-service') do it { should_not be_running } end
Version data entries
5 entries across 5 versions & 1 rubygems