-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9725a4
commit c5f6e09
Showing
2 changed files
with
9 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
handler TestGateway is { | ||
on command TestGateway.CreateScenario { | ||
scenario clean is { | ||
given "no scenario is currently running" | ||
then "create all the entities as defined in the CreateScenario command" | ||
if "no scenario is currently running" then { | ||
"create all the entities as defined in the CreateScenario command" | ||
} | ||
} | ||
|
||
on command TestGateway.RunScenario { | ||
scenario WhileScenarioRunning is { | ||
given "CreateScenario has been called" | ||
and "each of the TenantInfo values provided in CreateTenants" | ||
then "create a tenant with matching content, 0 members, and 0 organizations" | ||
if "CreateScenario has been called and each of the TenantInfo values provided in CreateTenants" then { | ||
"create a tenant with matching content, 0 members, and 0 organizations" | ||
} | ||
} | ||
} |
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