Sha256: 79743eac371a065d9ac8212612091d438e00f2477c54ce1440bb81cd87ff03db
Contents?: true
Size: 643 Bytes
Versions: 7
Compression:
Stored size: 643 Bytes
Contents
module TestData module Configurators class CableYaml def initialize @generator = CableYamlGenerator.new @config = TestData.config end def verify if !File.exist?(@config.cable_yaml_full_path) || YAML.load_file(@config.cable_yaml_full_path).key?("test_data") ConfigurationVerification.new(looks_good?: true) else ConfigurationVerification.new(problems: [ "'#{@config.cable_yaml_path}' exists but does not contain a 'test_data' section" ]) end end def configure @generator.call end end end end
Version data entries
7 entries across 7 versions & 1 rubygems