1 require 'spec_helper_acceptance'
3 describe 'str2saltedsha512 function' do
6 $o = str2saltedsha512('password')
7 notice(inline_template('str2saltedsha512 is <%= @o.inspect %>'))
10 apply_manifest(pp, :catch_failures => true) do |r|
11 expect(r.stdout).to match(%r{str2saltedsha512 is "[a-f0-9]{136}"})
16 it 'handles no arguments'
17 it 'handles more than one argument'
18 it 'handles non strings'