Skip to content

Commit

Permalink
Merge pull request #40 from obsidiansystems/ali-abrar-patch-4
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
ali-abrar committed Feb 15, 2024
2 parents 5a8d59e + 72227c6 commit 61be86b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@ The [example.feature](example.feature) file contains a feature specification wri
Then an asset is created owned by the issuer
```

In [daml/Test.daml](daml/Test.daml), we've implemented each step as a separate function. You can identify the function corresponding to each step by looking at the comment above the function. For
In [daml/Test.daml](daml/Test.daml), we've implemented each step as a separate function. You can identify the function corresponding to each step by looking at the comment above the function. For example:

```
-- Given an issuer party
given_an_issuer : Cucumber Ctx ()
given_an_issuer = do
p <- liftScript $ allocateParty "issuer"
modify $ \ctx -> ctx { issuer = Some p }
```

0 comments on commit 61be86b

Please sign in to comment.