1- package bundle_test
1+ package bundleinstall_test
22
33import (
44 "bytes"
@@ -11,8 +11,8 @@ import (
1111
1212 "github.com/paketo-buildpacks/packit"
1313 "github.com/paketo-buildpacks/packit/chronos"
14- "github.com/paketo-community/bundle-install/bundle "
15- "github.com/paketo-community/bundle-install/bundle/ fakes"
14+ bundleinstall "github.com/paketo-community/bundle-install"
15+ "github.com/paketo-community/bundle-install/fakes"
1616 "github.com/sclevine/spec"
1717
1818 . "github.com/onsi/gomega"
@@ -49,14 +49,14 @@ func testBuild(t *testing.T, context spec.G, it spec.S) {
4949 installProcess = & fakes.InstallProcess {}
5050
5151 buffer = bytes .NewBuffer (nil )
52- logEmitter := bundle .NewLogEmitter (buffer )
52+ logEmitter := bundleinstall .NewLogEmitter (buffer )
5353
5454 timeStamp = time .Now ()
5555 clock = chronos .NewClock (func () time.Time {
5656 return timeStamp
5757 })
5858
59- build = bundle .Build (installProcess , logEmitter , clock )
59+ build = bundleinstall .Build (installProcess , logEmitter , clock )
6060 })
6161
6262 it .After (func () {
@@ -154,7 +154,7 @@ func testBuild(t *testing.T, context spec.G, it spec.S) {
154154 context ("when the layer directory cannot be removed" , func () {
155155 var layerDir string
156156 it .Before (func () {
157- layerDir = filepath .Join (layersDir , bundle .LayerNameGems )
157+ layerDir = filepath .Join (layersDir , bundleinstall .LayerNameGems )
158158 Expect (os .MkdirAll (filepath .Join (layerDir , "baller" ), os .ModePerm )).To (Succeed ())
159159 Expect (os .Chmod (layerDir , 0000 )).To (Succeed ())
160160 })
0 commit comments