public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Search Repo:
Make Dir.chdir spec work when /home is symlinked to /usr/home.
oleg dashevskii (author)
Tue Feb 12 10:49:37 -0800 2008
commit  64b0fb4131276feda0d0ab13301824b20f8d7f8e
tree    d17c62ef181cd8d557b391ea47404be01bb979dd
parent  98c9aecd7831048e8e9929cea71696105d185c6d
...
11
12
13
 
 
 
14
15
 
16
17
18
...
11
12
13
14
15
16
17
 
18
19
20
21
0
@@ -11,8 +11,11 @@ describe "Dir.chdir" do
0
   end
0
   
0
   it "defaults to $HOME with no arguments" do
0
+ Dir.chdir(ENV['HOME'])
0
+ home = Dir.pwd
0
+
0
     Dir.chdir
0
- Dir.pwd.should == ENV['HOME']
0
+ Dir.pwd.should == home
0
   end
0
   
0
   it "changes to the specified directory" do

Comments

    No one has commented yet.