lib/teststrap.rb in teststrap-1.2.1 vs lib/teststrap.rb in teststrap-1.2.3
- old
+ new
@@ -22,11 +22,13 @@
copy_file "rubocop-disabled.yml"
copy_file "Strainerfile"
copy_file "Thorfile"
template "spec/default_spec.rb"
template "spec/chefspec_helper.rb"
- template "test/integration/default/serverspec/localhost/default_spec.rb"
- template "test/integration/default/serverspec/spec_helper.rb"
+ template "test/integration/default/serverspec/localhost/default_spec.rb",
+ "test/integration/#{@cookbook_name}/serverspec/localhost/default_spec.rb"
+ template "test/integration/default/serverspec/spec_helper.rb",
+ "test/integration/#{@cookbook_name}/serverspec/spec_helper.rb"
template ".kitchen.yml"
template "metadata.rb"
template "README.md"
end