lib/soaspec/exe_helpers.rb in soaspec-0.0.39 vs lib/soaspec/exe_helpers.rb in soaspec-0.0.40
- old
+ new
@@ -89,10 +89,10 @@
/rspec/
]
# Close test server after all RSpec tests have run
config.after(:suite) do
- Process.kill(:QUIT, ENV['test_server_pid'].to_i) # && Process.wait - causes failure
+ Process.kill(:QUIT, ENV['test_server_pid'].to_i) if ENV['test_server_pid'] # && Process.wait - causes failure
end
end
EOF
\ No newline at end of file