Replace all tb.ref examples in docs with tb.get #117
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
sprint-friendly
A good issue for sprint events
With #92, a new way of creating reference objects was introduced.
tb.ref
withtb.get
and also mention that one can use the indexing pattern to create the objects.tb.get
is called on that variable, the actual value will be fetched, and not the reference object, which was the case before. (This is the actual reason why we need to move away fromtb.ref
examples because they no longer return "references" always.)This piece of code outlines the different ways we can create testbook reference objects as of now.
The text was updated successfully, but these errors were encountered: