@@ -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 |
|
|
|
373 |
|
|
|
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 : |
|
|
381 |
|
|
|
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