Sha256: f93049f8553ec4775d218355e2af31baa81cdfe62a40782163a9cdb02847c11d

Contents?: true

Size: 576 Bytes

Versions: 170

Compression:

Stored size: 576 Bytes

Contents

require 'spec_helper'

set :os, { :family => nil }

describe get_command(:check_mail_alias_is_aliased_to, 'pink', '|/pony') do
  it do
    should eq %Q{getent aliases pink | } +
              %Q{egrep -- \\\[\\\[:space:\\\]\\\]\\\(\\\[\\\"\\'\\\]\\?\\)\\\\\\|/pony\\\\1\\\(,\\\|\\\$\\\)}
  end
end

describe get_command(:check_mail_alias_is_aliased_to, 'pink', '|/pony, |/unicorn') do
  it do
    should eq %Q{getent aliases pink | } +
              %Q{egrep -- \\\[\\\[:space:\\\]\\\]\\\(\\\[\\\"\\'\\\]\\?\\)\\\\\\|/pony,\\\ \\\\\\|/unicorn\\\\1\\\(,\\\|\\\$\\\)}
  end
end

Version data entries

170 entries across 170 versions & 2 rubygems

Version Path
specinfra-2.82.25 spec/command/base/mail_alias_spec.rb
specinfra-2.82.24 spec/command/base/mail_alias_spec.rb
specinfra-2.82.23 spec/command/base/mail_alias_spec.rb
specinfra-2.82.22 spec/command/base/mail_alias_spec.rb
specinfra-2.82.21 spec/command/base/mail_alias_spec.rb
specinfra-2.82.20 spec/command/base/mail_alias_spec.rb
specinfra-2.82.19 spec/command/base/mail_alias_spec.rb
specinfra-2.82.18 spec/command/base/mail_alias_spec.rb
specinfra-2.82.17 spec/command/base/mail_alias_spec.rb
specinfra-2.82.16 spec/command/base/mail_alias_spec.rb
specinfra-2.82.15 spec/command/base/mail_alias_spec.rb
specinfra-2.82.14 spec/command/base/mail_alias_spec.rb
specinfra-2.82.13 spec/command/base/mail_alias_spec.rb
specinfra-2.82.12 spec/command/base/mail_alias_spec.rb
specinfra-2.82.11 spec/command/base/mail_alias_spec.rb
specinfra-2.82.10 spec/command/base/mail_alias_spec.rb
specinfra-2.82.9 spec/command/base/mail_alias_spec.rb
specinfra-2.82.8 spec/command/base/mail_alias_spec.rb
specinfra-2.82.7 spec/command/base/mail_alias_spec.rb
specinfra-2.82.6 spec/command/base/mail_alias_spec.rb