aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-12-09 21:18:41 +0100
committerJosé Valim <jose.valim@gmail.com>2010-12-09 21:19:06 +0100
commit1860d873f23446ec9c442a9a8625b74f0dd42594 (patch)
tree63afbca32b0d6e04d89d787a173d98384e0e08ac /railties/test
parentd1387a994283d6f4a7dce8fdcb22119b276eed72 (diff)
downloadrails-1860d873f23446ec9c442a9a8625b74f0dd42594.tar.gz
rails-1860d873f23446ec9c442a9a8625b74f0dd42594.tar.bz2
rails-1860d873f23446ec9c442a9a8625b74f0dd42594.zip
Ensure asset_path defaults to nil for application
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index b8d0854286..c12c4a4660 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -95,6 +95,11 @@ module ApplicationTests
assert AppTemplate::Application.config.allow_concurrency
end
+ test "asset_path defaults to nil for application" do
+ require "#{app_path}/config/environment"
+ assert_equal nil, AppTemplate::Application.config.asset_path
+ end
+
test "the application can be marked as threadsafe when there are no frameworks" do
FileUtils.rm_rf("#{app_path}/config/environments")
add_to_config <<-RUBY