Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added --inspect option to inspect shell command.
* Removed Resource#inspect (calling to_s) to make debugging a happy experience. * Added ResourceBehavior.toggle_inspect to add/remove a basic inspect. * Added `--inspect` flag to `shell` command. Call toggle_inspect unless --inspect used. * Cleaned up matchers.rb and removed most explicit calls to inspect. * Added ResourceInspector to rspec's INSPECTOR_CLASSES. Signed-off-by: Ryan Davis <zenspider@chef.io>
- Loading branch information
Showing
5 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters