Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove *actual groovy binary* from test resources. Rework dummies and…

… update specs accordingly.
  • Loading branch information...
commit 24eb4c41e55e71cac5bb7e3cb372000aa3f8cecf 1 parent f61394f
@marcoVermeulen marcoVermeulen authored
View
26 src/test/cucumber/gvm/use_and_default_candidate.feature
@@ -8,24 +8,24 @@ Feature: Use and Default Candidate
Then I see "Usage: gvm <command> <candidate> [version]"
Scenario: Use a candidate version that is installed
- Given the candidate "groovy" version "2.0.5" is already installed and default
- And the candidate "groovy" version "1.8.8" is already installed but not default
- When I enter "gvm use groovy 1.8.8"
- Then I see "Using groovy version 1.8.8 in this shell."
- Then the candidate "groovy" version "1.8.8" should be in use
- And the candidate "groovy" version "2.0.5" should be the default
+ Given the candidate "grails" version "2.1.0" is already installed and default
+ And the candidate "grails" version "1.3.9" is already installed but not default
+ When I enter "gvm use grails 1.3.9"
+ Then I see "Using grails version 1.3.9 in this shell."
+ Then the candidate "grails" version "1.3.9" should be in use
+ And the candidate "grails" version "2.1.0" should be the default
Scenario: Use a candidate version that is not installed
- When I enter "gvm use groovy 1.8.8" and answer "Y"
- Then I see "Using groovy version 1.8.8 in this shell."
- And the candidate "groovy" version "1.8.8" should be in use
+ When I enter "gvm use grails 1.3.9" and answer "Y"
+ Then I see "Using grails version 1.3.9 in this shell."
+ And the candidate "grails" version "1.3.9" should be in use
Scenario: Use a candidate version that is automatically installed
And I have configured "gvm_auto_answer" to "true"
- When I enter "gvm use groovy 1.8.8"
- Then I see "Stop! groovy 1.8.8 is not installed."
- Then I see "Using groovy version 1.8.8 in this shell."
- And the candidate "groovy" version "1.8.8" should be in use
+ When I enter "gvm use grails 1.3.9"
+ Then I see "Stop! grails 1.3.9 is not installed."
+ Then I see "Using grails version 1.3.9 in this shell."
+ And the candidate "grails" version "1.3.9" should be in use
Scenario: Use a candidate version that does not exist
When I enter "gvm use groovy 1.9.9"
View
2  src/test/groovy/gvm/VertxUtils.groovy
@@ -6,7 +6,7 @@ import org.vertx.groovy.core.Vertx
class VertxUtils {
- final static groovy = ['2.0.5', '1.8.8']
+ final static groovy = ['2.0.5']
final static grails = ['1.3.6','1.3.9','2.1.0']
final static candidates = [groovy:groovy,grails:grails]
final static defaults = [groovy:'2.0.5',grails:'2.1.0']
View
BIN  src/test/resources/grails-1.3.9.zip
Binary file not shown
View
BIN  src/test/resources/groovy-1.8.8.zip
Binary file not shown
View
BIN  src/test/resources/groovy-2.0.5.zip
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.