spec/spec_helper.rb in planter-cli-3.0.4 vs spec/spec_helper.rb in planter-cli-3.0.5

- old
+ new

@@ -27,13 +27,14 @@ require 'open3' require 'time' module PlanterHelpers - PLANTER_EXEC = File.join(File.dirname(__FILE__), '..', 'exe', 'plant') + PLANTER_EXEC = File.join(File.dirname(__FILE__), '..', 'bin', 'plant') def planter_with_env(env, *args, stdin: nil) - pread(env, 'bundle', 'exec', PLANTER_EXEC, "--base-dir=#{File.dirname(__FILE__)}", *args, stdin: stdin) + pread(env, 'bundle', 'exec', PLANTER_EXEC, "--base-dir=#{File.dirname(__FILE__)}", "--defaults", *args, + stdin: stdin) end def pread(env, *cmd, stdin: nil) out, err, status = Open3.capture3(env, *cmd, stdin_data: stdin) unless status.success?