From e45f6920c5061e67e0160fad3ae8738ae2ea10dc Mon Sep 17 00:00:00 2001 From: Andrew Eberbach Date: Fri, 14 Jan 2011 15:26:33 -0500 Subject: [PATCH] fixes issue with hanging cucumber. See https://github.com/langalex/culerity/issues#issue/34 --- .../templates/features/step_definitions/culerity_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb b/rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb index e20a201..972a9c5 100644 --- a/rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb +++ b/rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb @@ -21,7 +21,7 @@ at_exit do $browser.exit if $browser - $server.close if $server + $server.exit_server if $server Process.kill(6, $rails_server_pid) if $rails_server_pid end