diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-23 17:13:25 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-23 17:13:25 +0100 |
commit | 924fa084e81b8b2f5ae9eab93d6b711c2b6b89d8 (patch) | |
tree | 877c0c8305297d938c57c55c716666869648857a /railties/test | |
parent | 13d66cdf2544af0d465d596383743b16b5005996 (diff) | |
download | rails-924fa084e81b8b2f5ae9eab93d6b711c2b6b89d8.tar.gz rails-924fa084e81b8b2f5ae9eab93d6b711c2b6b89d8.tar.bz2 rails-924fa084e81b8b2f5ae9eab93d6b711c2b6b89d8.zip |
First steps into making Plugin < Engine.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/paths_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/paths_test.rb b/railties/test/paths_test.rb index 001282bb0d..343926340a 100644 --- a/railties/test/paths_test.rb +++ b/railties/test/paths_test.rb @@ -222,4 +222,11 @@ class PathsTest < ActiveSupport::TestCase @root.app.eager_load! assert_equal ["/foo/bar/app"], @root.load_paths end + + test "adding a path to the load once paths also adds it to the load path" do + @root.app = "app" + @root.app.load_once! + assert_equal ["/foo/bar/app"], @root.load_paths + end + end |