Skip to content

Commit

Permalink
Updating the document creation test to match the new application flow
Browse files Browse the repository at this point in the history
  • Loading branch information
eedrummer committed Apr 10, 2012
1 parent 8a745f8 commit 92886af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/documents_controller_test.rb
Expand Up @@ -22,7 +22,7 @@ class DocumentsControllerTest < ActionController::TestCase
post :create, patient_id: @document, document: @document.attributes post :create, patient_id: @document, document: @document.attributes
end end


assert_redirected_to patient_document_path(@patient, assigns(:document)) assert_redirected_to patient_path(@patient)
end end


test "should show document" do test "should show document" do
Expand Down

0 comments on commit 92886af

Please sign in to comment.