@@ -48,7 +48,7 @@ Feature: `msfconsole` `database.yml`
4848 database: project_metasploit_framework_test
4949 username: project_metasploit_framework_test
5050 """
51- When I run `msfconsole -L - -environment test --yaml command_line.yml` interactively
51+ When I run `msfconsole --environment test --yaml command_line.yml` interactively
5252 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
5353 And I type "exit"
5454 Then the output should contain "command_line_metasploit_framework_test"
@@ -84,7 +84,7 @@ Feature: `msfconsole` `database.yml`
8484 database: project_metasploit_framework_test
8585 username: project_metasploit_framework_test
8686 """
87- When I run `msfconsole -L - -environment test` interactively
87+ When I run `msfconsole --environment test` interactively
8888 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
8989 And I type "exit"
9090 Then the output should contain "environment_metasploit_framework_test"
@@ -113,7 +113,7 @@ Feature: `msfconsole` `database.yml`
113113 database: project_metasploit_framework_test
114114 username: project_metasploit_framework_test
115115 """
116- When I run `msfconsole -L - -environment test` interactively
116+ When I run `msfconsole --environment test` interactively
117117 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
118118 And I type "exit"
119119 Then the output should contain "user_metasploit_framework_test"
@@ -133,7 +133,7 @@ Feature: `msfconsole` `database.yml`
133133 database: project_metasploit_framework_test
134134 username: project_metasploit_framework_test
135135 """
136- When I run `msfconsole -L - -environment test` interactively
136+ When I run `msfconsole --environment test` interactively
137137 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
138138 And I type "exit"
139139 Then the output should contain "project_metasploit_framework_test"
@@ -148,7 +148,7 @@ Feature: `msfconsole` `database.yml`
148148 And a mocked home directory
149149 And I cd to "../.."
150150 And the project "database.yml" does not exist
151- When I run `msfconsole -L - -environment test` interactively
151+ When I run `msfconsole --environment test` interactively
152152 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
153153 And I type "db_status"
154154 And I type "exit"
@@ -158,8 +158,8 @@ Feature: `msfconsole` `database.yml`
158158 And the output should not contain "project_metasploit_framework_test"
159159 And the output should contain "[*] postgresql selected, no connection"
160160
161- Scenario : Starting `msfconsole -L ` with a valid database.yml
162- Given I run `msfconsole -L ` interactively
161+ Scenario : Starting `msfconsole` with a valid database.yml
162+ Given I run `msfconsole` interactively
163163 And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
164164 When I type "db_status"
165165 And I type "exit"
0 commit comments