@@ -126,7 +126,7 class VersionsControllerTest < ActionController::TestCase | |||||
126 |
|
126 | |||
127 | def test_post_update_with_validation_failure |
|
127 | def test_post_update_with_validation_failure | |
128 | @request.session[:user_id] = 2 |
|
128 | @request.session[:user_id] = 2 | |
129 |
p |
|
129 | post :update, :id => 2, | |
130 | :version => { :name => '', |
|
130 | :version => { :name => '', | |
131 | :effective_date => Date.today.strftime("%Y-%m-%d")} |
|
131 | :effective_date => Date.today.strftime("%Y-%m-%d")} | |
132 | assert_response :success |
|
132 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now