Fixed a test broken by r4355 (#6786).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4356 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -126,7 +126,7 @@ class VersionsControllerTest < ActionController::TestCase
|
|||||||
|
|
||||||
def test_post_update_with_validation_failure
|
def test_post_update_with_validation_failure
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
put :update, :id => 2,
|
post :update, :id => 2,
|
||||||
:version => { :name => '',
|
:version => { :name => '',
|
||||||
:effective_date => Date.today.strftime("%Y-%m-%d")}
|
:effective_date => Date.today.strftime("%Y-%m-%d")}
|
||||||
assert_response :success
|
assert_response :success
|
||||||
|
|||||||
Reference in New Issue
Block a user