Method: Retrospec::Puppet::Generators::FunctionGenerator#spec_file_dir

Defined in:
lib/retrospec/plugins/v1/plugin/generators/function_generator.rb

#spec_file_dirObject

returns the path to the spec directory because this can vary between test types and function types there are many supporting functions to determine which directory to use



136
137
138
139
140
141
142
143
144
145
# File 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb', line 136

def spec_file_dir
  case function_type
  when 'v3'
    v3_spec_dir
  when 'v4'
    v4_spec_dir
  when 'native'
    native_spec_dir
  end
end