Sha256: 96526506ab8fdd128edaafeef747ee891fdb8cb5c663aaf523c37653854364e6

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 KB

Contents

Feature: The shell command

  Background:
    Given a file named "Capfile" with "Capfile exists"


  Scenario: It opens a remote shell on the primary server
    Given a file named "config/deploy.rb" with "deploy.rb exists"
    And a file named "config/deploy/geordi.rb" with:
    """
    set :user, 'deploy'
    set :deploy_to, '/var/www/example.com'
    server 'first.example.com'
    server 'second.example.com'
    """

    When I run `geordi shell geordi`
    Then the output should contain "Util.system! ssh, deploy@first.example.com, -t, cd /var/www/example.com/current && bash --login"


  Scenario: It understands Capistrano 3 syntax
    Given a file named "config/deploy.rb" with "deploy.rb exists"
    And a file named "config/deploy/geordi.rb" with:
    """
    set :deploy_to, '/var/www/example.com'
    server 'first.example.com', user: 'deploy'
    """

    When I run `geordi shell geordi`
    Then the output should contain "Util.system! ssh, deploy@first.example.com, -t, cd /var/www/example.com/current && bash --login"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
geordi-1.9.1 features/shell.feature
geordi-1.9.0 features/shell.feature
geordi-1.8.0 features/shell.feature
geordi-1.7.1 features/shell.feature
geordi-1.7.0 features/shell.feature
geordi-1.6.5 features/shell.feature
geordi-1.6.4 features/shell.feature
geordi-1.6.3 features/shell.feature
geordi-1.6.2 features/shell.feature
geordi-1.6.1 features/shell.feature
geordi-1.6.0 features/shell.feature
geordi-1.5.2 features/shell.feature