Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added pik_install scenarios, test for install to location with spaces…
… in path
- Loading branch information
1 parent
f569f63
commit fb7e092
Showing
2 changed files
with
42 additions
and
0 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,24 @@ | ||
Feature: pik_install binary script | ||
In order to use pik | ||
A developer | ||
Wants a command line interface | ||
So that she can install the pik tool | ||
|
||
Scenario: pik_install | ||
Given I have not installed pik to C:\temp\bin | ||
And "C:\temp\bin" is in the system path | ||
When I run "pik_install C:\temp\bin" | ||
And then I run "C:\temp\bin\pik help" | ||
Then I should see "Installing to C:\temp\bin" | ||
And I should see "pik is installed" | ||
And I should see "To get help with a command" | ||
|
||
|
||
Scenario: pik_install to path with spaces | ||
Given I have not installed pik to C:\temp\path with spaces\bin | ||
And "C:\temp\path with spaces\bin" is in the system path | ||
When I run "pik_install "C:\temp\path with spaces\bin"" | ||
And then I run "pik help" | ||
Then I should see "Installing to C:\temp\path with spaces\bin" | ||
And I should see "pik is installed" | ||
And I should see "To get help with a command" |
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