Sha256: 70ecdc53d585202ec2e8d9b6df028ff6c967298163180ca2c6b045618c7ba26c
Contents?: true
Size: 521 Bytes
Versions: 35
Compression:
Stored size: 521 Bytes
Contents
# == Class: role::test_functions # class role::test_data_return { unless return_string() =~ String { fail('string() did not return a string') } unless return_number('foo','bar') =~ Numeric { fail('string() did not return a string') } unless return_boolean('foo') =~ Boolean { fail('string() did not return a string') } unless return_array('foo') =~ Array { fail('string() did not return a string') } unless return_hash('foo') =~ Hash { fail('string() did not return a string') } }
Version data entries
35 entries across 35 versions & 1 rubygems