Commit 9e03751730043d9b68a12b3c09f83c990cbf425e
Committed by
Paulo Meireles
1 parent
d8139f7e
Exists in
master
and in
29 other branches
[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 | ... | ... |