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
bug/bundler_fix
David Maloney 2016-05-12 11:17:53 -05:00
parent 7edaa2abcc
commit 11a672e31d
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -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