File: installation.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 (21 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature: Installation

  Background:
    Given a test app without any configuration

  Scenario: The "install" task documentation can be viewed
    When I run "cap -T"
    Then the task is successful
    And contains "cap install" in the output

  Scenario: With default stages
    When I run "cap install"
    Then the deploy.rb file is created
    And the default stage files are created
    And the tasks folder is created

  Scenario: With specified stages
    When I run "cap install STAGES=qa,production"
    Then the deploy.rb file is created
    And the specified stage files are created
    And the tasks folder is created