Commit 5bca031c authored by jplang's avatar jplang

Rails 3.1 compatibility.

git-svn-id: https://svn.redmine.org/redmine/trunk@9087 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent cf5a0508
......@@ -61,7 +61,7 @@ class SettingsControllerTest < ActionController::TestCase
def test_get_plugin_settings
Setting.stubs(:plugin_foo).returns({'sample_setting' => 'Plugin setting value'})
ActionController::Base.view_paths.unshift(File.join(Rails.root, "test/fixtures/plugins"))
ActionController::Base.append_view_path(File.join(Rails.root, "test/fixtures/plugins"))
Redmine::Plugin.register :foo do
settings :partial => "foo_plugin/foo_plugin_settings"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment