Created
September 29, 2011 02:10
-
-
Save raulriera/1249818 to your computer and use it in GitHub Desktop.
Why is this test failing? the same test with users is passing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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