File: sshconnect.feature

package info (click to toggle)
capistrano 3.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 804 kB
  • sloc: ruby: 5,351; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
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+\(deployer\)"