Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More fixes for CHEF-1292: updated comments, refactored feature tests.…
… Added some require's
- Loading branch information
Tim Hinderliter
committed
Nov 24, 2010
1 parent
12dce10
commit f6e94c1
Showing
8 changed files
with
67 additions
and
20 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
@api @api_nodes @nodes_show @json_recusion @pl_538 | ||
@api @api_nodes @nodes_show @json_recusion @pl_538 @chef_1292 | ||
Feature: Save and show a node with deep structure via the API | ||
In order to verify that I can save and show very deep structure in a node object | ||
As a Developer | ||
I want to show the details for a specific node | ||
|
||
Scenario: Show a really deep node | ||
Scenario: Show a deeply nested node | ||
Given I am an administrator | ||
And a 'node' named 'really_deep_node' exists | ||
When I 'GET' the path '/nodes/really_deep_node' | ||
Then I should not get an exception | ||
And the inflated response should respond to 'name' with 'really_deep_node' | ||
And the inflated response should respond to 'deep_array' and match '.*10,\"really_deep_string\".*' as json | ||
And the 'deep_array' component has depth of '50' levels | ||
And the 'deep_hash' component has depth of '50' levels |
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