Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a method 'with' that can be used to test mulitple parameters/values with a single method call Example: it do should contain_service('keystone').with( 'ensure' => 'running', 'enable' => 'true', 'hasstatus' => 'true', 'hasrestart' => 'true' ) end It was created as a more condensed alternative to chaining methods per parameter to validate.
- Loading branch information
Dan Bode
committed
Dec 29, 2011
1 parent
48407ca
commit 4184c54
Showing
3 changed files
with
29 additions
and
0 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