Commit 9e03751730043d9b68a12b3c09f83c990cbf425e

Authored by João M. M. da Silva + Alessandro Palmeira
Committed by Paulo Meireles
1 parent d8139f7e

[Mezuro] Hooks now execute bash scripts

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
features/support/hooks.rb
1 1 Before do |scenario|
2   - # The +scenario+ argument is optional, but if you use it, you can get the title,
3   - # description, or name (title + description) of the scenario that is about to be
4   - # executed.
5   - STDOUT.puts "Starting scenario: #{scenario.name}"
  2 + command = "#{RAILS_ROOT}/plugins/mezuro/features/initialize_monkey_server.sh \"#{scenario.name}\""
  3 + system command
6 4 end
... ...