Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9087 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-03-04 13:39:57 +00:00
parent 3aaf2b9ed0
commit a6992aa6fc
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class SettingsControllerTest < ActionController::TestCase
def test_get_plugin_settings def test_get_plugin_settings
Setting.stubs(:plugin_foo).returns({'sample_setting' => 'Plugin setting value'}) 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 Redmine::Plugin.register :foo do
settings :partial => "foo_plugin/foo_plugin_settings" settings :partial => "foo_plugin/foo_plugin_settings"
end end