1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features/sshconnect.feature

12 lines
385 B
Gherkin
Raw Normal View History

Feature: SSH Connection
Background:
Given a test app with the default configuration
And servers with the roles app and web
And a task which executes as root
Scenario: Switching from default user to root and back again
When I run cap "am_i_root"
Then the task is successful
And the output matches "I am uid=0\(root\)" followed by "I am uid=\d+\(vagrant\)"