Permalink
Browse files

Updating the document creation test to match the new application flow

  • Loading branch information...
1 parent 8a745f8 commit 92886af2f3f5cd86d69e8a68e8b56128f999e538 @eedrummer committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/functional/documents_controller_test.rb
View
2 test/functional/documents_controller_test.rb
@@ -22,7 +22,7 @@ class DocumentsControllerTest < ActionController::TestCase
post :create, patient_id: @document, document: @document.attributes
end
- assert_redirected_to patient_document_path(@patient, assigns(:document))
+ assert_redirected_to patient_path(@patient)
end
test "should show document" do

0 comments on commit 92886af

Please sign in to comment.