Sha256: 4b3362aa4a9c18551768a6132434ae03de8af0b18ce47dd496cc2b5a7a56e1f4

Contents?: true

Size: 1.17 KB

Versions: 14

Compression:

Stored size: 1.17 KB

Contents

Feature: Test tasks for namespace 'project_version'

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

	Scenario: upload the project version file
		Given a file named "Version" with:
		"""
		1.0.0
		"""
		And I successfully run `cap dev project_version:update`
		Then the remote file "current_path/Version" should contain exactly:
		"""
		1.0.0
		"""

	Scenario: update the project version file
		Given a remote file named "Version" with:
		"""
		1.0.0
		"""
		And a file named "Version" with:
		"""
		2.0.0
		"""
		And I successfully run `cap dev project_version:update`
		Then the remote file "current_path/Version" should contain exactly:
		"""
		2.0.0
		"""

	Scenario: change version file path and update the local version file
		Given a remote directory named "current_path/version_file_directory"
		And a file named "Version" with:
		"""
		1.0.0
		"""
		When I extend the development capistrano configuration variable version_file_path with value 'version_file_directory'
		And I successfully run `cap dev project_version:update`
		Then a remote file named "current_path/version_file_directory/Version" should exist

Version data entries

14 entries across 14 versions & 1 rubygems

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