Skip to content

Commit

Permalink
Update env:deploy ACs
Browse files Browse the repository at this point in the history
- Update site and env flags to a single argument in the form <site>.<env>
- Update required deploy note from flag to argument
  • Loading branch information
ari-gold authored Sep 23, 2016
1 parent 8a06081 commit 36740fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/newfeatures/env-deploy.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: Site Deployment

@vcr site_deploy
Scenario: Deploy dev to test
When I run "terminus env:deploy test --site=[[test_site_name]] --sync-content --note='Deploy test'"
When I run "terminus env:deploy [[test_site_name]].test 'Deploy log note' --sync-content"
Then I should get "."
And I should get "."
Then I should get:
Expand All @@ -19,12 +19,12 @@ Feature: Site Deployment

@vcr site_deploy_no_changes
Scenario: Failing to deploy dev to test because there are no changes to deploy
When I run "terminus env:deploy test --site=[[test_site_name]] --sync-content --note='Deploy test'"
When I run "terminus env:deploy [[test_site_name]].test 'Deploy log note' --sync-content"
Then I should get: "There is nothing to deploy."

@vcr site_init-env
Scenario: Initializing test when it has not been previously initialized
When I run "terminus env:deploy test --site=[[test_site_name]] --sync-content --note='First deploy to live'"
When I run "terminus env:deploy [[test_site_name]].test 'First deploy' --sync-content"
Then I should get "."
And I should get "."
Then I should get:
Expand Down

0 comments on commit 36740fa

Please sign in to comment.