Skip to content

Commit 11642dc

Browse files
committed
I'm not Gary :-)
1 parent 00a7ba0 commit 11642dc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/features/support/env.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
require_relative 'test_config'
66

77
Before do
8-
#before automation execution methods go here
8+
# Automatically find the framework path
9+
default_path = File.join(File.expand_path(File.dirname(__FILE__)), '../../../')
10+
11+
# Add more paths manually if needed. For example:
12+
# "/Users/gary/rapid7/framework"
13+
@dirs = [default_path]
914

10-
@dirs = ["/Users/gary/rapid7/framework"]
1115
@aruba_timeout_seconds = 150
1216
end
1317

0 commit comments

Comments
 (0)