diff --git a/spec/lib/guard/rails/runner_spec.rb b/spec/lib/guard/rails/runner_spec.rb index 73f6b76..e9f1c2a 100644 --- a/spec/lib/guard/rails/runner_spec.rb +++ b/spec/lib/guard/rails/runner_spec.rb @@ -17,6 +17,7 @@ describe Guard::RailsRunner do let(:pid) { 12345 } before do + FileUtils.mkdir_p File.split(runner.pid_file).first File.open(runner.pid_file, 'w') { |fh| fh.print pid } end