Sha256: f4a4525c015a6dd41fb3a552581244f3d97fe1961a6bedd283afb626b62d422a
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
class ControlRepo_Helper attr_reader :tmp_folder def initialize( name ) @name = name @tmp_folder = '.cucumber/tmp/' end def root_folder @tmp_folder + @name + '/' end def puppetfile root_folder + "Puppetfile" end def onceover_temp_root_folder root_folder + '.onceover/etc/puppetlabs/code/environments/production/' end def onceover_temp_puppetfile onceover_temp_root_folder + "Puppetfile" end def config_file root_folder + 'spec/onceover.yaml' end def config_file_contents File.read(config_file) end def add_line_to_puppetfile( line ) open(puppetfile, 'a') { |f| f.puts line } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onceover-4.0.0 | features/support/controlrepo_helper.rb |