Sha256: 4cbde5072c79ea5aa8c15da26536fe5166bc85659456b9d268ba7618e2afdee2

Contents?: true

Size: 1.21 KB

Versions: 67

Compression:

Stored size: 1.21 KB

Contents

Shindo.tests('AWS::IAM | account policy requests', ['aws']) do

  tests('success') do
    tests("#update_account_password_policy(minimum_password_length, max_password_age, password_reuse_prevention,require_symbols,require_numbers,require_uppercase_characters, require_lowercase_characters,allow_users_to_change_password, hard_expiry, expire_passwords)").formats(AWS::IAM::Formats::BASIC) do
      minimum_password_length, password_reuse_prevention, max_password_age = 5
      require_symbols, require_numbers, require_uppercase_characters, require_lowercase_characters, allow_users_to_change_password, hard_expiry, expire_passwords = false
   
      Fog::AWS[:iam].update_account_password_policy(minimum_password_length, max_password_age, password_reuse_prevention,require_symbols,require_numbers,require_uppercase_characters, require_lowercase_characters,allow_users_to_change_password, hard_expiry, expire_passwords).body
    end

    tests("#get_account_password_policy()") do
      Fog::AWS[:iam].get_account_password_policy().body['AccountPasswordPolicy']
    end

    tests("#delete_account_password_policy()").formats(AWS::IAM::Formats::BASIC) do
  
      Fog::AWS[:iam].delete_account_password_policy().body
    end    
  end
end

Version data entries

67 entries across 65 versions & 5 rubygems

Version Path
fog-aws-0.9.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.8.1 tests/requests/iam/account_policy_tests.rb
fog-aws-0.8.0 tests/requests/iam/account_policy_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-aws-0.7.5/tests/requests/iam/account_policy_tests.rb
fog-aws-0.7.6 tests/requests/iam/account_policy_tests.rb
fog-aws-0.7.5 tests/requests/iam/account_policy_tests.rb
fog-aws-0.7.4 tests/requests/iam/account_policy_tests.rb
fog-aws-0.7.3 tests/requests/iam/account_policy_tests.rb
fog-aws-0.7.2 tests/requests/iam/account_policy_tests.rb
fog-aws-0.6.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.5.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.4.1 tests/requests/iam/account_policy_tests.rb
fog-aws-0.4.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.3.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.2.2 tests/requests/iam/account_policy_tests.rb
fog-aws-0.2.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.1.2 tests/requests/iam/account_policy_tests.rb
fog-aws-0.1.1 tests/requests/iam/account_policy_tests.rb
fog-aws-0.1.0 tests/requests/iam/account_policy_tests.rb
fog-aws-0.0.8 tests/requests/iam/account_policy_tests.rb