Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit a43f596

Browse files
committed
Fix spec to pass on JRuby.
For some reason, this `load` wasn’t working as written on JRuby.
1 parent 801a48c commit a43f596

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/integration/failed_line_detection_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
end
3333
"
3434

35-
in_current_dir { load "failing_spec.rb" }
35+
file = in_current_dir { "#{Dir.pwd}/failing_spec.rb" }
36+
load file
3637
run_command "passing_spec.rb"
3738

3839
expect(last_cmd_stdout).to include("expect(1).to eq(2)")

0 commit comments

Comments
 (0)