Displaying 1 result from an estimated 1 matches for "add_lot_to_assembl".
Did you mean:
add_lot_to_assembly
2009 Oct 14
6
Reinstantiate controller during functional testing
...ect an item from the drop down
list, see another select box show up, go back to the first select box,
select a different item, and see something different happen.
I have tried to script this up in my functional test with something like this:
test "blah blah blah"
xhr :post,
:add_lot_to_assembly,
:id => lots(:lot_one).to_param,
:use_part => parts(:part_three).to_param
assert_response :success
xhr :post,
:add_lot_to_assembly,
:id => lots(:lot_one).to_param,
:use_part => parts(:part_two).to_param
assert_response :success
end...