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