summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-03-13 15:18:03 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-08-18 12:03:21 -0700
commit63a2d95003bc062d251d453d63ab1c5d91cbdb06 (patch)
tree5f50177a3cd8c66242030e198e2c1387ab4d56f6 /spec/unit/cookbook
parent74e6bd6b50af383829f4bfc47ca18a4e089b1428 (diff)
downloadchef-63a2d95003bc062d251d453d63ab1c5d91cbdb06.tar.gz
CHEF-5012: add methods for template breadcrumbs
adds: - cookbook_name - recipe_name - recipe_line_string - recipe_path - recipe_line - template_name - template_path accessible both as instance var (@-) and method (bare), like @node/node.
Diffstat (limited to 'spec/unit/cookbook')
-rw-r--r--spec/unit/cookbook/syntax_check_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/cookbook/syntax_check_spec.rb b/spec/unit/cookbook/syntax_check_spec.rb
index ee4e0bed02..764829c387 100644
--- a/spec/unit/cookbook/syntax_check_spec.rb
+++ b/spec/unit/cookbook/syntax_check_spec.rb
@@ -53,6 +53,7 @@ describe Chef::Cookbook::SyntaxCheck do
@ruby_files = @attr_files + @libr_files + @defn_files + @recipes + [File.join(cookbook_path, "metadata.rb")]
basenames = %w{ helpers_via_partial_test.erb
helper_test.erb
+ helpers.erb
openldap_stuff.conf.erb
openldap_variable_stuff.conf.erb
test.erb