This repository has been archived by the owner on Jun 8, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabe Berke-Williams
committed
Oct 22, 2011
1 parent
cf370c1
commit 13469e2
Showing
4 changed files
with
46 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@creates-remote @disable-bundler | ||
Feature: Git cleanliness | ||
As a user | ||
I want Kumade to check if git is clean before deploying | ||
So that I don't accidentally leave leave local changes behind | ||
|
||
Background: | ||
Given a directory set up for kumade | ||
When I create a Heroku remote named "pretend-staging" | ||
|
||
Scenario: Git is clean if there are untracked files | ||
When I create an untracked file | ||
And I run kumade with "pretend-staging" | ||
Then the output should not contain "==> ! Cannot deploy: repo is not clean" | ||
|
||
Scenario: Git is not clean if a tracked file is modified | ||
When I modify a tracked file | ||
And I run kumade with "pretend-staging" | ||
Then the output should contain "==> ! Cannot deploy: repo is not clean" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters