Sha256: 1479ab77bbbb60091525b147108ae817365b5d7b44f60f7ab1e877d32b1fbfef
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Solaris describe mail_alias('daemon') do it { should be_aliased_to "root" } its(:command) { should eq "getent aliases \\^daemon | grep -- \\[\\[:space:\\]\\]root$" } end describe mail_alias('invalid-recipient') do it { should_not be_aliased_to "foo" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.8.0 | spec/solaris/mail_alias_spec.rb |