Fixed issues when running tests on fresh clone
- Added the `rdoc` gem to the test group. - Created `tmp` directory if one doesn't exist to store testing beef configuration.
This commit is contained in:
1
Rakefile
1
Rakefile
@@ -156,6 +156,7 @@ task :beef_start => 'beef' do
|
||||
config = YAML.load(File.read('./config.yaml'))
|
||||
config['beef']['credentials']['user'] = test_user
|
||||
config['beef']['credentials']['passwd'] = test_pass
|
||||
Dir.mkdir('tmp') unless Dir.exists?('tmp')
|
||||
File.open(@beef_config_file, 'w') { |f| YAML.dump(config, f) }
|
||||
|
||||
# set the environment creds -- in case we're using bad_fred
|
||||
|
||||
Reference in New Issue
Block a user