Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow attributes of associated models to be described in model creation

#29

"Given an item exists with invoice: the invoice, batch.product.name: "Foo 1 100", batch.code: "Bar11", quantity: 10, rate: 82.44" this should be equivalent to
Given a product exists with name: "Foo 1 100" And a batch exists with product: the product, code: "Bar11" And an item exists with batch: the batch, quantity: 10, rate: 82.44

The '.'s in the field name provides the key
This is really useful when creating multiple items
Given the following items exists: | batch.product.name | batch.code | quantity | rate |

Reported by TMaYaD · August 24th, 2010 @ 06:40 AM

State: new
Milestone: none
Assigned to: Ian White Ian White

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.