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

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.22.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.21.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.20.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.19.2 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.19.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.19.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.18.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.18.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.17.3 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.17.2 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.17.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.17.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.16.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.15.2 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.15.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.15.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.14.1 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.14.0 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp
onceover-3.13.4 spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp