Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added gemsync scenarios, caught a few gemsync bugs in the process
- Loading branch information
1 parent
326675a
commit bfed28f
Showing
3 changed files
with
35 additions
and
3 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 @@ | ||
Feature: gemsync command | ||
In order to test code against specific ruby implementations | ||
A developer | ||
Wants an interface to the program | ||
So that he can tag versions that pik is aware of | ||
|
||
Scenario: sync to previous version | ||
Given I only have the rake gem installed to version 1.9.1. | ||
When I run "pik 191 mi" and "pik gemsync 186 mi -q -d", | ||
Then I should see "** Syncing" | ||
And I should find "Gem rake.+ already installed" | ||
And I should see "Installing hoe" | ||
|
||
Scenario: attempt to sync to different platform | ||
When I run "pik Ir 91" and "pik gemsync 186 mi -q -d", | ||
Then I should see "You appear to be attempting a gemsync from a different platform." | ||
|
||
|
||
# Scenaorio: sync remotely |
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