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