Skip to content

Commit

Permalink
Rename base directory to gvm base environment variable in test enviro…
Browse files Browse the repository at this point in the history
…nment.
  • Loading branch information
marc0der committed Mar 28, 2013
1 parent 15655b7 commit 7289d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/resources/gvm/aeroplane_mode_steps.groovy
Expand Up @@ -3,14 +3,14 @@ package gvm
import static cucumber.api.groovy.EN.* import static cucumber.api.groovy.EN.*


Given(~'^the internet is not reachable$') {-> Given(~'^the internet is not reachable$') {->
bash = new BashEnv(baseDir, [GVM_DIR: gvmDirEnv, GVM_SERVICE: "http://localhost:0"]) bash = new BashEnv(gvmBaseEnv, [GVM_DIR: gvmDirEnv, GVM_SERVICE: "http://localhost:0"])
bash.start() bash.start()
bash.execute("source $binDir/gvm-init.sh") bash.execute("source $binDir/gvm-init.sh")
} }




And(~'^the internet is reachable$') {-> And(~'^the internet is reachable$') {->
bash = new BashEnv(baseDir, [GVM_DIR: gvmDirEnv, GVM_SERVICE: serviceUrlEnv]) bash = new BashEnv(gvmBaseEnv, [GVM_DIR: gvmDirEnv, GVM_SERVICE: serviceUrlEnv])
bash.start() bash.start()
bash.execute("source $binDir/gvm-init.sh") bash.execute("source $binDir/gvm-init.sh")
} }

0 comments on commit 7289d25

Please sign in to comment.