Sha256: 5bbf3531d0c0458066c11bf321a5cde22e3d91965795540e1e50342324d3db3b

Contents?: true

Size: 483 Bytes

Versions: 8

Compression:

Stored size: 483 Bytes

Contents

# == Class: role::test_functions
#
class role::test_functions {
  unless string('foo') =~ String {
    fail('string() did not return a string')
  }
  unless number('foo') =~ Numeric {
    fail('string() did not return a string')
  }
  unless boolean('foo') =~ Boolean {
    fail('string() did not return a string')
  }
  unless array('foo') =~ Array {
    fail('string() did not return a string')
  }
  unless hash('foo') =~ Hash {
    fail('string() did not return a string')
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
onceover-3.9.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.8.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.7.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.6.2 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.6.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.6.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.5.2 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp
onceover-3.5.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_functions.pp