parent
972470c241
commit
e6750b985c
|
@ -40,7 +40,7 @@ Feature: `msfconsole` `database.yml`
|
|||
username: user_metasploit_framework_test
|
||||
"""
|
||||
And I cd to "../.."
|
||||
And project "database.yml" exists with:
|
||||
And the project "database.yml" exists with:
|
||||
"""
|
||||
test:
|
||||
adapter: postgresql
|
||||
|
@ -76,7 +76,7 @@ Feature: `msfconsole` `database.yml`
|
|||
username: user_metasploit_framework_test
|
||||
"""
|
||||
And I cd to "../.."
|
||||
And project "database.yml" exists with:
|
||||
And the project "database.yml" exists with:
|
||||
"""
|
||||
test:
|
||||
adapter: postgresql
|
||||
|
@ -105,7 +105,7 @@ Feature: `msfconsole` `database.yml`
|
|||
username: user_metasploit_framework_test
|
||||
"""
|
||||
And I cd to "../.."
|
||||
And project "database.yml" exists with:
|
||||
And the project "database.yml" exists with:
|
||||
"""
|
||||
test:
|
||||
adapter: postgresql
|
||||
|
|
|
@ -7,7 +7,7 @@ Before do
|
|||
end
|
||||
end
|
||||
|
||||
Given /^project "database.yml" exists with:$/ do |file_content|
|
||||
Given /^the project "database.yml" exists with:$/ do |file_content|
|
||||
if File.exist?(project_database_yaml_path)
|
||||
File.rename(project_database_yaml_path, backup_project_database_yaml_path)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue