Some integration tweaks for selfupdate steps with new bash env builder.

This commit is contained in:
Marco Vermeulen
2013-09-08 19:30:42 +01:00
parent 2eda46992d
commit 8f06a830fb
2 changed files with 6 additions and 2 deletions

View File

@@ -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"

View File

@@ -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 = ""
}