aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-02-19 20:55:56 -0600
committerJoshua Peek <josh@joshpeek.com>2009-02-19 20:55:56 -0600
commitf8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 (patch)
tree3dcac4ab4c1d170df4ecaa327513c81c742f1fda /railties/test
parent7c0e008973e594ebf53607362c1dfbe34b693600 (diff)
downloadrails-f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690.tar.gz
rails-f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690.tar.bz2
rails-f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690.zip
Fix templates reloading in development when using custom view path [#2012 state:resolved]
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/plugin_loader_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/plugin_loader_test.rb b/railties/test/plugin_loader_test.rb
index 59491fe99e..23b81ddbf6 100644
--- a/railties/test/plugin_loader_test.rb
+++ b/railties/test/plugin_loader_test.rb
@@ -130,7 +130,7 @@ class TestPluginLoader < Test::Unit::TestCase
@loader.send :add_engine_view_paths
- assert_equal [ File.join(plugin_fixture_path('engines/engine'), 'app', 'views').sub(/\A\.\//, '') ], ActionController::Base.view_paths
+ assert_equal [ File.join(plugin_fixture_path('engines/engine'), 'app', 'views') ], ActionController::Base.view_paths
end
def test_should_add_plugin_load_paths_to_Dependencies_load_once_paths