Skip to content

Instantly share code, notes, and snippets.

@raulriera
Created September 29, 2011 02:10
Show Gist options
  • Save raulriera/1249818 to your computer and use it in GitHub Desktop.
Save raulriera/1249818 to your computer and use it in GitHub Desktop.
Why is this test failing? the same test with users is passing
test "should create patient" do
assert_difference('Patient.count') do
post :create, patient: @new_patient
end
assert_redirected_to patient_path(assigns(:patient))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment