Method: Retrospec::Puppet::Generators::FunctionGenerator#v3_spec_dir
- Defined in:
- lib/retrospec/plugins/v1/plugin/generators/function_generator.rb
#v3_spec_dir ⇒ Object
returns the path to the v3 spec directory if using using rspec test type the spec/functions is returned
153 154 155 156 157 158 159 |
# File 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb', line 153 def v3_spec_dir if context.test_type == 'ruby' File.join(module_path, 'spec', 'unit', 'puppet', 'parser', 'functions') else File.join(module_path, 'spec', 'functions') end end |