diff options
Diffstat (limited to 'railties/test/application/paths_test.rb')
-rw-r--r-- | railties/test/application/paths_test.rb | 6 |
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 |