Class: BulkDataTestKit::BulkDataV101::BulkDataSmartDiscoveryV101ContentsTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- BulkDataTestKit::BulkDataV101::BulkDataSmartDiscoveryV101ContentsTest
- Defined in:
- lib/bulk_data_test_kit/v1.0.1/bulk_data_smart_discovery_v101_contents_test.rb
Instance Method Summary collapse
Instance Method Details
#test_key(config, key, type) ⇒ Object
26 27 28 29 |
# File 'lib/bulk_data_test_kit/v1.0.1/bulk_data_smart_discovery_v101_contents_test.rb', line 26 def test_key(config, key, type) assert config[key].present?, "Well-known configuration field `#{key}` is blank" assert config[key].is_a?(type), "Well-known `#{key}` must be type: #{type.to_s.downcase}" end |