From 11642dcef183a3b153d3ccfb9a414c80eda53199 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Thu, 10 Jan 2013 02:38:15 -0600 Subject: [PATCH] I'm not Gary :-) --- test/features/support/env.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/features/support/env.rb b/test/features/support/env.rb index 694458ba09..2f0b406393 100644 --- a/test/features/support/env.rb +++ b/test/features/support/env.rb @@ -5,9 +5,13 @@ require 'aruba/cucumber' require_relative 'test_config' Before do -#before automation execution methods go here + # Automatically find the framework path + default_path = File.join(File.expand_path(File.dirname(__FILE__)), '../../../') + + # Add more paths manually if needed. For example: + # "/Users/gary/rapid7/framework" + @dirs = [default_path] - @dirs = ["/Users/gary/rapid7/framework"] @aruba_timeout_seconds = 150 end