Sha256: 457078c5816cb0aa5b4cd278aaefaaf96a2e835ece5ec18b286108a3d65a5476

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

set :os, :family => 'base'

describe commands.command_class('mail_alias').create do
  it { should be_an_instance_of(Specinfra::Command::Base::MailAlias) }
end

describe mail_alias('daemon') do
  it { should be_aliased_to "root" }
end

describe mail_alias('invalid-recipient') do
  it { should_not be_aliased_to "foo" }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/base/mail_alias_spec.rb
serverspec-2.0.0.beta12 spec/type/base/mail_alias_spec.rb
serverspec-2.0.0.beta11 spec/type/base/mail_alias_spec.rb
serverspec-2.0.0.beta10 spec/type/base/mail_alias_spec.rb
serverspec-2.0.0.beta9 spec/type/base/mail_alias_spec.rb