summaryrefslogtreecommitdiffstats
path: root/spec/unit/application.rb
Commit message (Collapse)AuthorAgeFilesLines
* Exiting from app failures instead of raisingLuke Kanies2009-07-311-7/+10
| | | | | | | This protects the user from seeing stack traces in normal situations. It makes sense here because this is explicitly for user interactions. Signed-off-by: Luke Kanies <luke@madstop.com>
* Refactoring how the Settings file is parsedLuke Kanies2009-02-191-3/+3
| | | | | | | | | | | | | The goal of this refactor was to use a cached attribute for the LoadedFile instance we use to monitor whether the file needs reparsing. We were getting tests that affected later tests because they were holding on to LoadedFile stubs, somehow. The other main change here is that the Settings#parse method now knows how to look up its own file path. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing a syntactically invalid application testLuke Kanies2009-02-181-3/+3
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Move --version handling to Puppet::ApplicationBrice Figureau2009-02-161-0/+12
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Introducing the Application ControllerBrice Figureau2009-02-161-0/+405
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>