From 11a672e31d4c053858871f1ba46b289f92af2ac0 Mon Sep 17 00:00:00 2001 From: David Maloney Date: Thu, 12 May 2016 11:17:53 -0500 Subject: [PATCH] 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 --- features/step_definitions/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/project.rb b/features/step_definitions/project.rb index 9e9ffa552a..1c24f07254 100644 --- a/features/step_definitions/project.rb +++ b/features/step_definitions/project.rb @@ -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