Skip to content

Commit 04664f0

Browse files
authored
Update tests (heroku#1614)
The Ruby buildpack depends on PATH set by the node buildpack for some tests. It appears that the path on disk changed from `.heroku/yarn/bin/yarn` to `.heroku/node/bin/yarn` This appears to be changed in heroku/heroku-buildpack-nodejs@v295...v296.
1 parent 3f6bb38 commit 04664f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/hatchet/node_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
Hatchet::Runner.new("minimal_webpacker", buildpacks: buildpacks, config: config).deploy do |app, heroku|
3636
expect(app.output).to include("yarn install")
37-
expect(app.output).to include(".heroku/yarn/bin/yarn is the yarn directory")
37+
expect(app.output).to include(".heroku/node/bin/yarn is the yarn directory ")
3838
expect(app.output).to include(".heroku/node/bin/node is the node directory")
3939

4040
expect(app.run("which node")).to match("/app/.heroku/node/bin")
41-
expect(app.run("which yarn")).to match("/app/.heroku/yarn/bin")
41+
expect(app.run("which yarn")).to match("/app/.heroku/node/bin")
4242
end
4343
end
4444
end

0 commit comments

Comments
 (0)