summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/plugin_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lib/redmine/plugin_test.rb')
-rw-r--r--test/unit/lib/redmine/plugin_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/lib/redmine/plugin_test.rb b/test/unit/lib/redmine/plugin_test.rb
index 42122c945..7779bbdb5 100644
--- a/test/unit/lib/redmine/plugin_test.rb
+++ b/test/unit/lib/redmine/plugin_test.rb
@@ -166,13 +166,13 @@ class Redmine::PluginTest < ActiveSupport::TestCase
requires_redmine_plugin(:other, :version => ['98.0.0', '99.0.0'])
end
# Missing plugin
- test.assert_raise Redmine::PluginNotFound do
+ test.assert_raise Redmine::PluginRequirementError do
requires_redmine_plugin(:missing, :version_or_higher => '0.1.0')
end
- test.assert_raise Redmine::PluginNotFound do
+ test.assert_raise Redmine::PluginRequirementError do
requires_redmine_plugin(:missing, '0.1.0')
end
- test.assert_raise Redmine::PluginNotFound do
+ test.assert_raise Redmine::PluginRequirementError do
requires_redmine_plugin(:missing, :version => '0.1.0')
end
end