mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Add a .tmp path
This commit is contained in:
@@ -71,7 +71,8 @@ module Rails
|
||||
@paths.lib "lib", :load_path => true
|
||||
@paths.vendor "vendor", :load_path => true
|
||||
@paths.vendor.plugins "vendor/plugins"
|
||||
@paths.cache "tmp/cache"
|
||||
@paths.tmp "tmp"
|
||||
@paths.tmp.cache "tmp/cache"
|
||||
@paths.config "config"
|
||||
@paths.config.locales "config/locales"
|
||||
@paths.config.environments "config/environments", :glob => "#{RAILS_ENV}.rb"
|
||||
|
||||
@@ -30,7 +30,8 @@ class PathsTest < Test::Unit::TestCase
|
||||
assert_path @paths.lib, "lib"
|
||||
assert_path @paths.vendor, "vendor"
|
||||
assert_path @paths.vendor.plugins, "vendor", "plugins"
|
||||
assert_path @paths.cache, "tmp", "cache"
|
||||
assert_path @paths.tmp, "tmp"
|
||||
assert_path @paths.tmp.cache, "tmp", "cache"
|
||||
assert_path @paths.config, "config"
|
||||
assert_path @paths.config.locales, "config", "locales"
|
||||
assert_path @paths.config.environments, "config", "environments"
|
||||
|
||||
Reference in New Issue
Block a user