diff --git a/src/test/cucumber/gvm/use_and_default_candidate.feature b/src/test/cucumber/gvm/use_and_default_candidate.feature index 0b9c7f88..3f8c80f8 100644 --- a/src/test/cucumber/gvm/use_and_default_candidate.feature +++ b/src/test/cucumber/gvm/use_and_default_candidate.feature @@ -8,24 +8,24 @@ Feature: Use and Default Candidate Then I see "Usage: gvm [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" diff --git a/src/test/groovy/gvm/VertxUtils.groovy b/src/test/groovy/gvm/VertxUtils.groovy index 677dd5fd..420a2ccd 100644 --- a/src/test/groovy/gvm/VertxUtils.groovy +++ b/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'] diff --git a/src/test/resources/grails-1.3.9.zip b/src/test/resources/grails-1.3.9.zip index 25e44f29..05d404be 100644 Binary files a/src/test/resources/grails-1.3.9.zip and b/src/test/resources/grails-1.3.9.zip differ diff --git a/src/test/resources/groovy-1.8.8.zip b/src/test/resources/groovy-1.8.8.zip deleted file mode 100644 index c67b76cd..00000000 Binary files a/src/test/resources/groovy-1.8.8.zip and /dev/null differ diff --git a/src/test/resources/groovy-2.0.5.zip b/src/test/resources/groovy-2.0.5.zip index a2019535..8a49e77a 100644 Binary files a/src/test/resources/groovy-2.0.5.zip and b/src/test/resources/groovy-2.0.5.zip differ