Sha256: 21b51ae29a27b92eb2a3a2cc1aef14ca111001fd1458e5c8c779df47eebc019d
Contents?: true
Size: 629 Bytes
Versions: 5
Compression:
Stored size: 629 Bytes
Contents
require 'spec_helper' set :os, :family => 'smartos' describe commands.command_class('service').create do it { should be_an_instance_of(Specinfra::Command::Smartos::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_running } end describe service('invalid-service') do it { should_not be_running } end describe service('sshd') do it { should have_property :foo => 'bar' } end describe service('invalid-service') do it { should_not have_property :foo => 'bar' } end
Version data entries
5 entries across 5 versions & 1 rubygems