Sha256: 0ee89ae3e72669debe2c2533f1587304672f3daae1aafd1ead2c12a973856aae
Contents?: true
Size: 523 Bytes
Versions: 16
Compression:
Stored size: 523 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
16 entries across 16 versions & 4 rubygems