Sha256: 4ecd1104eae29b0b5b1a950fba7cc6655fe40d5cec5064a3f28a2f29cdcacad3
Contents?: true
Size: 528 Bytes
Versions: 75
Compression:
Stored size: 528 Bytes
Contents
require 'fog/serverlove/util/compute/password_generator' Shindo.tests('Fog::Compute::Serverlove::PasswordGenerator | generate password', ['serverlove']) do @password = Fog::Compute::Serverlove::PasswordGenerator.generate tests("@password.length").returns(8) do @password.length end tests("@password contains one capital letter").returns(true) do @password.match(/[A-Z]/) && true end tests("@password contains one lower case letter").returns(true) do @password.match(/[a-z]/) && true end end
Version data entries
75 entries across 75 versions & 10 rubygems