use raw file write for cuke
the write_file method from aruba was not working properly anymore, replaced it with a raw ruby file writebug/bundler_fix
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