Displaying 1 result from an estimated 1 matches for "purchaseorderscontrol".
2009 Mar 17
1
Route failure with Rails2.3 and rspec1.2
...=> ''update'',
:company_id => "32",
:id => ''1''
}).should == "/companies/32/purchase_orders/1"
Which results in this failure
Test::Unit::AssertionFailedError in ''PurchaseOrdersController route
generation routes #update to /companies/32/purchase_orders/1''
The recognized options <{"action"=>"show",
"id"=>"1",
"controller"=>"vendor_purchase_orders",
"company_id"=>"company-name"...