Skip to content

Commit 1c130b6

Browse files
Add test for spring binstub --remove --all
1 parent 88b6284 commit 1c130b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/spring/test/acceptance_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ def exec_name
208208
assert_success "bin/rake -T", stdout: "rake db:migrate"
209209
end
210210

211+
test "binstub remove all" do
212+
assert_success "bin/spring binstub --remove --all"
213+
refute File.exist?(app.path("bin/spring"))
214+
end
215+
211216
test "binstub when spring gem is missing" do
212217
without_gem "spring-#{Spring::VERSION}" do
213218
File.write(app.gemfile, app.gemfile.read.gsub(/gem 'spring.*/, ""))

0 commit comments

Comments
 (0)