mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
use raw file write for cuke
the write_file method from aruba was not working properly anymore, replaced it with a raw ruby file write
This commit is contained in:
parent
7edaa2abcc
commit
11a672e31d
@ -6,7 +6,7 @@ end
|
||||
|
||||
Given /^the project "database.yml" exists with:$/ do |file_content|
|
||||
Metasploit::Framework::Database::Cucumber.backup_project_configurations
|
||||
write_file(Metasploit::Framework::Database::Cucumber.project_configurations_path, file_content)
|
||||
File.open(Metasploit::Framework::Database::Cucumber.project_configurations_path, 'wb') { |file| file.write(file_content) }
|
||||
end
|
||||
|
||||
After do
|
||||
|
Loading…
Reference in New Issue
Block a user