Project

General

Profile

Defect #6786 ยป r4355-fix-testcase.diff

Holger Just, 2010-11-01 15:36

View differences:

test/functional/versions_controller_test.rb
126 126
  
127 127
  def test_post_update_with_validation_failure
128 128
    @request.session[:user_id] = 2
129
    put :update, :id => 2, 
129
    post :update, :id => 2,
130 130
                 :version => { :name => '', 
131 131
                               :effective_date => Date.today.strftime("%Y-%m-%d")}
132 132
    assert_response :success
    (1-1/1)