Skip to content

Commit c6b0947

Browse files
committed
Remove bundler 1.x spec
Bundler 1.x is removed, the deprecation is now a failure.
1 parent 1d0f31e commit c6b0947

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

spec/hatchet/bundler_spec.rb

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,4 @@
99
end
1010
end
1111
end
12-
13-
it "deploys with version 1.x" do
14-
pending("Must enable HATCHET_EXPENSIVE_MODE") unless ENV["HATCHET_EXPENSIVE_MODE"]
15-
16-
Hatchet::Runner.new("default_ruby").tap do |app|
17-
app.before_deploy do
18-
set_bundler_version(version: "1.17.3")
19-
Pathname("Gemfile.lock").write(<<~EOF, mode: "a")
20-
21-
RUBY VERSION
22-
ruby 3.1.6
23-
EOF
24-
end
25-
app.deploy do
26-
expect(app.output).to match("Deprecating bundler 1.17.3")
27-
28-
app.run("which -a rake") do |which_rake|
29-
expect(which_rake).to include("/app/vendor/bundle/bin/rake")
30-
end
31-
end
32-
end
33-
end
3412
end

0 commit comments

Comments
 (0)