bin/cucumber-chef in cucumber-chef-2.1.0.rc.0 vs bin/cucumber-chef in cucumber-chef-2.1.0.rc.1
- old
+ new
@@ -33,9 +33,11 @@
def create_project(project)
@project = project
source_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "cucumber", "chef", "templates", "cucumber"))
destination_dir = Cucumber::Chef.locate_parent(".chef")
+ @is_rc = Cucumber::Chef.is_rc?
+
CucumberChef.source_root source_dir
templates = {
"readme.erb" => "features/#{project}/README",
"example_feature.erb" => "features/#{project}/#{project}.feature",
"example_steps.erb" => "features/#{project}/step_definitions/#{project}_steps.rb",