Sha256: 18d80a078eda8dce2348ecddbd1ea30fa3eded780017206b23ba082f6e6308ec
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
require 'spec_helper' set :os, :family => 'opensuse' describe commands.command_class('service').create do it { should be_an_instance_of(Specinfra::Command::Opensuse::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