diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-03-21 01:12:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-03-21 01:12:11 +0000 |
commit | abf24a7d923961b56a92e8812cbc40234245b53b (patch) | |
tree | d7dbd65c8d8319fe305dd2d80685de58bd962e28 /test | |
parent | 913c8cd2e649564c07a81615b293a41ec7524136 (diff) | |
download | redmine-abf24a7d923961b56a92e8812cbc40234245b53b.tar.gz redmine-abf24a7d923961b56a92e8812cbc40234245b53b.zip |
Don't clear plugins in tests (#16258).
git-svn-id: http://svn.redmine.org/redmine/trunk@12988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/settings_controller_test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index fc64f87dc..80d3123a0 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -148,7 +148,8 @@ class SettingsControllerTest < ActionController::TestCase assert_tag 'form', :attributes => {:action => '/settings/plugin/foo'}, :descendant => {:tag => 'input', :attributes => {:name => 'settings[sample_setting]', :value => 'Plugin setting value'}} - Redmine::Plugin.clear + ensure + Redmine::Plugin.unregister(:foo) end def test_get_invalid_plugin_settings @@ -162,7 +163,8 @@ class SettingsControllerTest < ActionController::TestCase get :plugin, :id => 'foo' assert_response 404 - Redmine::Plugin.clear + ensure + Redmine::Plugin.unregister(:foo) end def test_post_plugin_settings @@ -181,6 +183,7 @@ class SettingsControllerTest < ActionController::TestCase post :plugin, :id => 'foo', :settings => {'sample_setting' => 'Value'} assert_response 404 - Redmine::Plugin.clear + ensure + Redmine::Plugin.unregister(:foo) end end |