diff options
Diffstat (limited to 'test/functional/settings_controller_test.rb')
-rw-r--r-- | test/functional/settings_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index 1df23ef54..de5fddd8a 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -139,9 +139,9 @@ class SettingsControllerTest < ActionController::TestCase def test_get_plugin_settings ActionController::Base.append_view_path(File.join(Rails.root, "test/fixtures/plugins")) Redmine::Plugin.register :foo do - settings :partial => "foo_plugin/foo_plugin_settings", - :default => {'sample_setting' => 'Plugin setting value'} + settings :partial => "foo_plugin/foo_plugin_settings" end + Setting.plugin_foo = {'sample_setting' => 'Plugin setting value'} get :plugin, :id => 'foo' assert_response :success |