Sha256: 73e16583234803dbe3b9f3cb91e45f8e1ecaeff73cc9b94236626d1e2a9eecce
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::SmartOS 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/smartos/mail_alias_spec.rb |