diff options
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/multibyte_conformance.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/multibyte_conformance.rb b/activesupport/test/multibyte_conformance.rb index dfd77bd6e1..dede3e561d 100644 --- a/activesupport/test/multibyte_conformance.rb +++ b/activesupport/test/multibyte_conformance.rb @@ -10,7 +10,7 @@ class Downloader def self.download(from, to) unless File.exist?(to) $stderr.puts "Downloading #{from} to #{to}" - unless File.exists?(File.dirname(to)) + unless File.exist?(File.dirname(to)) system "mkdir -p #{File.dirname(to)}" end open(from) do |source| @@ -31,7 +31,7 @@ class String end unless ''.respond_to?(:ui) end -Dir.mkdir(CACHE_DIR) unless File.exists?(CACHE_DIR) +Dir.mkdir(CACHE_DIR) unless File.exist?(CACHE_DIR) Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE) module ConformanceTest |