#29 new
TMaYaD

Allow attributes of associated models to be described in model creation

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

"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 |

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Assign tickets to <b>Ian White</b>, so I get notified

People watching this ticket

Pages