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:
parent
dd16f8524c
commit
273f1f4498
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue