Sha256: 9a46fc60a30b4389de573c833a0611e84d1c8fc218a65cec729f45f4b031e1a1
Contents?: true
Size: 653 Bytes
Versions: 7
Compression:
Stored size: 653 Bytes
Contents
module TestData module Configurators class SecretsYaml def initialize @generator = SecretsYamlGenerator.new @config = TestData.config end def verify if !File.exist?(@config.secrets_yaml_full_path) || YAML.load_file(@config.secrets_yaml_full_path).key?("test_data") ConfigurationVerification.new(looks_good?: true) else ConfigurationVerification.new(problems: [ "'#{@config.secrets_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