1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move fixture path to last path

This commit is contained in:
Hiroshi SHIBATA 2019-08-17 10:11:05 +09:00
parent dd16f8524c
commit 273f1f4498
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -163,7 +163,7 @@ describe :kernel_require_basic, shared: true do
it "does not require file twice after $LOAD_PATH change" do
$LOAD_PATH << CODE_LOADING_DIR
@object.require("load_fixture.rb").should be_true
$LOAD_PATH.unshift CODE_LOADING_DIR + "/gem"
$LOAD_PATH.push CODE_LOADING_DIR + "/gem"
@object.require("load_fixture.rb").should be_false
ScratchPad.recorded.should == [:loaded]
end