aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-29 11:14:20 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-29 11:14:20 -0200
commit29b1dc273e1ad6b9e13bf48fe3f12047850f9554 (patch)
treef4602c3c71d9c8b98c30b254ea7085a42e6bdbb9 /railties
parent3663057518eb9acf9b1e72f47dcb07038e6b7368 (diff)
downloadrails-29b1dc273e1ad6b9e13bf48fe3f12047850f9554.tar.gz
rails-29b1dc273e1ad6b9e13bf48fe3f12047850f9554.tar.bz2
rails-29b1dc273e1ad6b9e13bf48fe3f12047850f9554.zip
Add test to deprecation of Path#children
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/paths_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/test/application/paths_test.rb b/railties/test/application/paths_test.rb
index f85c284c25..d9cd26a3a2 100644
--- a/railties/test/application/paths_test.rb
+++ b/railties/test/application/paths_test.rb
@@ -82,5 +82,11 @@ module ApplicationTests
assert_not_in_load_path "tmp"
assert_not_in_load_path "tmp", "cache"
end
+
+ test "deprecated children method" do
+ assert_deprecated "children is deprecated and will be removed in Rails 4.1." do
+ @paths["app/assets"].children
+ end
+ end
end
end