Sha256: 8aa214087332ccb84447f082cc4d2d3f33fbc78cdb49c4a982f1e7d01b116cc1

Contents?: true

Size: 314 Bytes

Versions: 10

Compression:

Stored size: 314 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris11

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

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/solaris11/mail_alias_spec.rb
serverspec-0.11.4 spec/solaris11/mail_alias_spec.rb
serverspec-0.11.3 spec/solaris11/mail_alias_spec.rb
serverspec-0.11.2 spec/solaris11/mail_alias_spec.rb
serverspec-0.9.4 spec/solaris11/mail_alias_spec.rb
serverspec-0.9.3 spec/solaris11/mail_alias_spec.rb
serverspec-0.9.2 spec/solaris11/mail_alias_spec.rb
serverspec-0.9.1 spec/solaris11/mail_alias_spec.rb
serverspec-0.9.0 spec/solaris11/mail_alias_spec.rb
serverspec-0.8.1 spec/solaris11/mail_alias_spec.rb