Skip to content

Commit

Permalink
issue-312: documentselector support cases for inside and outsdie the …
Browse files Browse the repository at this point in the history
…tests block

Signed-off-by: ivan katliarchuk <[email protected]>
  • Loading branch information
ivankatliarchuk committed Mar 20, 2024
1 parent d2e2e91 commit 289179e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/data/v3/with-document-select/tests/local_test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite: Document Selector and templates are local to the test block
tests:
- it: should selects the correct kind when local templates configured
- it: should match the correct kind when local templates configured
templates:
- templates/foo-deployment.yaml
documentSelector:
Expand All @@ -12,7 +12,7 @@ tests:
value: Deployment
- hasDocuments:
count: 1
- it: should selects the correct kind when local template is configured
- it: should match the correct kind when local template is configured
template: templates/bar-deployment.yaml
documentSelector:
path: kind
Expand Down
4 changes: 2 additions & 2 deletions test/data/v3/with-document-select/tests/top_level_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ suite: Document Selector and templates are at top level
templates:
- templates/foo-deployment.yaml
tests:
- it: should selects the correct kind when global templates configured
- it: should match the correct kind when global templates configured
documentSelector:
path: kind
value: Deployment
Expand All @@ -14,7 +14,7 @@ tests:
path: metadata.name
value: foo-deployment

- it: should selects the correct kind when local global and local templates configured
- it: should match the correct kind when local global and local templates configured
template: templates/foo-deployment.yaml
documentSelector:
path: kind
Expand Down

0 comments on commit 289179e

Please sign in to comment.