mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-05-24 08:27:39 -04:00
Some integration tweaks for selfupdate steps with new bash env builder.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
Feature: Self Update
|
||||
|
||||
Background:
|
||||
Given an outdated system
|
||||
And the internet is reachable
|
||||
Given the internet is reachable
|
||||
And an initialised environment
|
||||
And an outdated system
|
||||
And the system is bootstrapped
|
||||
|
||||
Scenario: Upgrade an outdated installation
|
||||
When I enter "gvm selfupdate"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package gvm
|
||||
|
||||
import cucumber.runtime.PendingException
|
||||
|
||||
import static cucumber.api.groovy.EN.*
|
||||
|
||||
And(~'^the configuration file has been primed with "([^"]*)"$') { String content ->
|
||||
@@ -70,3 +72,4 @@ Given(~'^an empty configuration file$') {->
|
||||
def configFile = "$gvmDir/ext/config" as File
|
||||
configFile.text = ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user