summaryrefslogtreecommitdiff
path: root/spec/unit/module_tool/installed_modules_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-07-02(PUP-2752) Fix for invalid semversBrandon High1-0/+49
Prior to this commit the module tool would fail to perform any actions if any module found in the modulepath had an invalid semver. This commit warns about invalid semvers in installed modules, sets the version to 0.0.0, and moves on. This allows the module tool to continue to work, even with the invalid semver found in the path. This commit also adds some rudimentary tests for the Puppet::ModuleTool::InstalledModules class.