features/default_host.feature in jenkins-0.6.4 vs features/default_host.feature in jenkins-0.6.5
- old
+ new
@@ -1,19 +1,26 @@
Feature: Display default host information
Scenario: Display default host information if it is setup
- Given I run local executable "jenkins" with arguments "list --host localhost --port 3010"
+ Given I run local executable "jenkins" with arguments "configure --host localhost --port 3010"
When I run local executable "jenkins" with arguments "default_host"
Then I should see exactly
"""
http://localhost:3010
"""
+ Scenario: Display default secure host information if it is setup
+ Given I run local executable "jenkins" with arguments "configure --host localhost --port 3010 --ssl"
+ When I run local executable "jenkins" with arguments "default_host"
+ Then I should see exactly
+ """
+ https://localhost:3010
+ """
+
Scenario: Display warning if never used Jenkins.rb before
When I run local executable "jenkins" with arguments "default_host"
Then I should see exactly
"""
ERROR: Either use --host or add remote servers.
"""
-
-
-
\ No newline at end of file
+
+