search for: contract_line_item_path

Displaying 1 result from an estimated 1 matches for "contract_line_item_path".

2007 Nov 20
3
How to test views with Nested Resources and Partials
...quot;line_items"}, expected: {:action=>"show", :controller=>"line_items"}, diff: {:contract_id=>"1"} On line #6 of app/views/line_items/edit.haml 3: 4: #section1 5: = error_messages_for :line_item 6: - form_for(:line_item, :url => contract_line_item_path(@contract.id), :html => { :method => :put }) do |f| 7: = render :partial => "form", :locals => { :f => f } 8: 9: %p app/views/line_items/edit.haml:6 vendor/rails/actionpack/lib/action_controller/routing.rb:1406:in `raise_named_route_error'...