Displaying 1 result from an estimated 1 matches for "lot_one".
Did you mean:
plot_one
2009 Oct 14
6
Reinstantiate controller during functional testing
...her 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
The problem is, there is an instan...