class Screengrab::DetectValues

Public Class Methods

set_additional_default_values() click to toggle source

This is needed to supply default values which are based on config values determined in the initial configuration pass

# File screengrab/lib/screengrab/detect_values.rb, line 5
def self.set_additional_default_values
  config = Screengrab.config

  # First, try loading the Screengrabfile from the current directory
  config.load_configuration_file(Screengrab.screengrabfile_name)

  unless config[:tests_package_name]
    config[:tests_package_name] = "#{config[:app_package_name]}.test"
  end
end