Sha256: 1e3b15771e49e0d862f16f8a82a50c5b9c302e4973bef7615e4ae1d39f079e1d

Contents?: true

Size: 430 Bytes

Versions: 55

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'solaris', :release => '11'

describe get_command(:get_user_minimum_days_between_password_change, 'foo') do
  it { should eq "passwd -s foo | sed 's/ \\{1,\\}/%/g' | tr '%' '\n' | sed '4q;d'" }
end

describe get_command(:get_user_maximum_days_between_password_change, 'foo') do
  it { should eq "passwd -s foo | sed 's/ \\{1,\\}/%/g' | tr '%' '\n' | sed '5q;d'" }
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
specinfra-2.91.0 spec/command/solaris11/user_spec.rb
specinfra-2.90.1 spec/command/solaris11/user_spec.rb
specinfra-2.90.0 spec/command/solaris11/user_spec.rb
specinfra-2.89.0 spec/command/solaris11/user_spec.rb
specinfra-2.88.2 spec/command/solaris11/user_spec.rb
specinfra-2.88.1 spec/command/solaris11/user_spec.rb
specinfra-2.88.0 spec/command/solaris11/user_spec.rb
specinfra-2.87.2 spec/command/solaris11/user_spec.rb
specinfra-2.87.1 spec/command/solaris11/user_spec.rb
specinfra-2.87.0 spec/command/solaris11/user_spec.rb
specinfra-2.86.0 spec/command/solaris11/user_spec.rb
specinfra-2.85.1 spec/command/solaris11/user_spec.rb
specinfra-2.85.0 spec/command/solaris11/user_spec.rb
specinfra-2.84.1 spec/command/solaris11/user_spec.rb
specinfra-2.84.0 spec/command/solaris11/user_spec.rb
specinfra-2.83.4 spec/command/solaris11/user_spec.rb
specinfra-2.83.3 spec/command/solaris11/user_spec.rb
specinfra-2.83.2 spec/command/solaris11/user_spec.rb
specinfra-2.83.1 spec/command/solaris11/user_spec.rb
specinfra-2.83.0 spec/command/solaris11/user_spec.rb