Sha256: e3a390b3926658bfa20e86c2a3a9d9f61154262e7b6b5b48ce2e0aece1660519
Contents?: true
Size: 783 Bytes
Versions: 64
Compression:
Stored size: 783 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/common' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/shared/pwd' describe "Dir.pwd" do it_behaves_like :dir_pwd, :pwd # RHO TODO: disable until encoding bug will be fixed =begin it "correctly displays dirs with unicode characters in them" do DirSpecs.clear_dirs begin old_kcode, $KCODE=$KCODE,'u' str = [0xe9].pack 'U' #Unicode � Dir.mkdir str File.exist?(str).should == true old_pwd = Dir.pwd Dir.chdir(str) { Dir.pwd.should == File.join(old_pwd, str) } ensure DirSpecs.clear_dirs $KCODE=old_kcode end end =end end
Version data entries
64 entries across 64 versions & 1 rubygems