Sha256: ff86777bf91e0e92be4adbc7c958ba9c8415a36963dc0c013a2bc42d64d563b7

Contents?: true

Size: 1.31 KB

Versions: 14

Compression:

Stored size: 1.31 KB

Contents

Feature: Test tasks for namespace 'maintenance'

	Background:
		Given a test app with the default configuration
		And the remote server is cleared
		And the project is deployed

	Scenario: Check if maintenance.json is created on server if I run maintenance:enable
		When I successfully run `cap dev maintenance:enable`
		Then a remote file named "shared_path/config/maintenance.json" should exist

	Scenario: Check if maintenance.json is removed to the config directory if I run maintenance:disable
		When I successfully run `cap dev maintenance:enable`
		And I successfully run `cap dev maintenance:disable`
		Then a remote file named "shared_path/config/maintenance.json" should not exist

	Scenario: Check if maintenance.json is not removed on server if I run maintenance:disable in a permanent mode
		When I successfully run `cap dev maintenance:enable_permanent`
		And I successfully run `cap dev maintenance:disable`
		Then a remote file named "shared_path/config/maintenance.json" should exist

	Scenario: Check if maintenance.json is removed from the server if I run maintenance_disable_permanent in a permanent mode
		When I successfully run `cap dev maintenance:enable_permanent`
		And I successfully run `cap dev maintenance:disable_permanent`
		Then a remote file named "shared_path/config/maintenance.json" should not exist

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dkdeploy-core-10.0.0 features/maintenance.feature
dkdeploy-core-9.3.1 features/maintenance.feature
dkdeploy-core-9.2.4 features/maintenance.feature
dkdeploy-core-9.1.1 features/maintenance.feature
dkdeploy-core-9.0.1 features/maintenance.feature
dkdeploy-core-8.0.2 features/maintenance.feature
dkdeploy-core-9.3.0 features/maintenance.feature
dkdeploy-core-9.2.3 features/maintenance.feature
dkdeploy-core-9.2.2 features/maintenance.feature
dkdeploy-core-9.2.1 features/maintenance.feature
dkdeploy-core-9.1.0 features/maintenance.feature
dkdeploy-core-9.0.0 features/maintenance.feature
dkdeploy-core-8.0.1 features/maintenance.feature
dkdeploy-core-8.0.0 features/maintenance.feature