From 69157892927eb2a2d0301fbf09c93f7cb9298546 Mon Sep 17 00:00:00 2001 From: N Date: Sat, 25 Jan 2020 19:48:47 +0000 Subject: [PATCH] test(env): update paths --- test/integration/default/controls/environ_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/integration/default/controls/environ_spec.rb b/test/integration/default/controls/environ_spec.rb index c6bc31f..dda9b48 100644 --- a/test/integration/default/controls/environ_spec.rb +++ b/test/integration/default/controls/environ_spec.rb @@ -7,9 +7,8 @@ it { should be_grouped_into 'root' } its('mode') { should cmp '0644' } its('content') { should include 'Your changes may be overwritten' } - its('content') { should include 'export GOROOT=/usr/local/go' } + its('content') { should include 'export GOROOT=/usr/local/go1.10.1.linux-amd64' } its('content') { should include 'export GOPATH=/usr/local/golang/packages' } - its('content') { should include 'export PATH=$PATH:$GOROOT/bin:$GOBASE/bin' } - its('content') { should include 'export PATH=${PATH}:/usr/local/go1.10.1.linux-amd64' } + its('content') { should include 'export PATH=${PATH}:/usr/local/go1.10.1.linux-amd64/go/bin' } end end