Retab all the things (except external/)
This commit is contained in:
@@ -5,18 +5,18 @@ require 'aruba/cucumber'
|
||||
require_relative 'test_config'
|
||||
|
||||
Before do
|
||||
# Automatically find the framework path
|
||||
default_path = File.join(File.expand_path(File.dirname(__FILE__)), '../../../')
|
||||
# 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]
|
||||
# Add more paths manually if needed. For example:
|
||||
# "/Users/gary/rapid7/framework"
|
||||
@dirs = [default_path]
|
||||
|
||||
@aruba_timeout_seconds = 150
|
||||
@aruba_timeout_seconds = 150
|
||||
end
|
||||
|
||||
Before('@slow_process') do
|
||||
@aruba_io_wait_seconds = 150
|
||||
@aruba_io_wait_seconds = 150
|
||||
end
|
||||
|
||||
@After
|
||||
|
||||
@@ -6,18 +6,18 @@ class TestConfig
|
||||
|
||||
def initialize(*args)
|
||||
|
||||
yml_path = File.join(File.dirname(__FILE__),'test_config.yml')
|
||||
yml_path = File.join(File.dirname(__FILE__),'test_config.yml')
|
||||
|
||||
if File.exists?(yml_path)
|
||||
@yaml_options = YAML::load(File.open(yml_path))
|
||||
else
|
||||
@yaml_options = {}
|
||||
end
|
||||
if File.exists?(yml_path)
|
||||
@yaml_options = YAML::load(File.open(yml_path))
|
||||
else
|
||||
@yaml_options = {}
|
||||
end
|
||||
|
||||
@options = {
|
||||
"rhost" => "localhost",
|
||||
"smbuser" => "user",
|
||||
"smbpass" => "password"
|
||||
"smbuser" => "user",
|
||||
"smbpass" => "password"
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user