##// END OF EJS Templates
Fixes functional test broken by r2246....
Jean-Philippe Lang -
r2246:a64928fa6be2
parent child
Show More
@@ -369,16 +369,16 class IssuesControllerTest < Test::Unit::TestCase
369 369 @request.session[:user_id] = 2
370 370 post :new, :project_id => 1,
371 371 :issue => {:tracker_id => 1,
372 :subject => 'This is the test_new issue',
373 # empty description
374 :description => '',
372 # empty subject
373 :subject => '',
374 :description => 'This is a description',
375 375 :priority_id => 6,
376 376 :custom_field_values => {'1' => 'Oracle', '2' => 'Value for field 2'}}
377 377 assert_response :success
378 378 assert_template 'new'
379 379
380 assert_tag :input, :attributes => { :name => 'issue[subject]',
381 :value => 'This is the test_new issue' }
380 assert_tag :textarea, :attributes => { :name => 'issue[description]' },
381 :content => 'This is a description'
382 382 assert_tag :select, :attributes => { :name => 'issue[priority_id]' },
383 383 :child => { :tag => 'option', :attributes => { :selected => 'selected',
384 384 :value => '6' },
General Comments 0
You need to be logged in to leave comments. Login now