mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 05:58:46 +02:00
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:
parent
3aaf2b9ed0
commit
a6992aa6fc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user