Skip to content

Commit

Permalink
Move fixture path to last path
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 17, 2019
1 parent 631628d commit 782b578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kernel/shared/require.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
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
Expand Down

0 comments on commit 782b578

Please sign in to comment.