spogulis no
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
Šī revīzija ir iekļauta:
vecāks
3aaf2b9ed0
revīzija
a6992aa6fc
@ -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
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user