Skip to content

Commit faa9f49

Browse files
committed
Fix test
For some reason, the previous code didn't work on the CI using Ruby 2.3.0 (it worked on every other Ruby version, and locally). When I debugged it, I found that the shell wasn't finding the "spring" executable. (I have no idea why, but it's presumably environment-specific.)
1 parent 78499cb commit faa9f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spring/test/acceptance_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def exec_name
516516
test "booting a foreground server" do
517517
FileUtils.cd(app.root) do
518518
assert !spring_env.server_running?
519-
app.run "spring server &"
519+
assert_success "bin/spring server &"
520520

521521
Timeout.timeout(10) do
522522
sleep 0.1 until spring_env.server_running? && spring_env.socket_path.exist?

0 commit comments

Comments
 (0)