From 9e03751730043d9b68a12b3c09f83c990cbf425e Mon Sep 17 00:00:00 2001 From: João M. M. da Silva + Alessandro Palmeira Date: Thu, 25 Oct 2012 14:56:32 -0200 Subject: [PATCH] [Mezuro] Hooks now execute bash scripts --- features/support/hooks.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/features/support/hooks.rb b/features/support/hooks.rb index bd9e0b8..2e39fa0 100644 --- a/features/support/hooks.rb +++ b/features/support/hooks.rb @@ -1,6 +1,4 @@ Before do |scenario| - # The +scenario+ argument is optional, but if you use it, you can get the title, - # description, or name (title + description) of the scenario that is about to be - # executed. - STDOUT.puts "Starting scenario: #{scenario.name}" + command = "#{RAILS_ROOT}/plugins/mezuro/features/initialize_monkey_server.sh \"#{scenario.name}\"" + system command end -- libgit2 0.21.2