diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-07 20:21:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-07 20:21:27 +0000 |
commit | a64928fa6be2a0295acc62a2de45e5d7340b8630 (patch) | |
tree | 6d00c3aa36fb7eceed832cbd7de47dfdd622bb7a /test | |
parent | 09620eef763dfff36ebc010db117bb69e07a2f25 (diff) | |
download | redmine-a64928fa6be2a0295acc62a2de45e5d7340b8630.tar.gz redmine-a64928fa6be2a0295acc62a2de45e5d7340b8630.zip |
Fixes functional test broken by r2246.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2248 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index a44779fa4..c8c5e09c5 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -369,16 +369,16 @@ class IssuesControllerTest < Test::Unit::TestCase @request.session[:user_id] = 2 post :new, :project_id => 1, :issue => {:tracker_id => 1, - :subject => 'This is the test_new issue', - # empty description - :description => '', + # empty subject + :subject => '', + :description => 'This is a description', :priority_id => 6, :custom_field_values => {'1' => 'Oracle', '2' => 'Value for field 2'}} assert_response :success assert_template 'new' - assert_tag :input, :attributes => { :name => 'issue[subject]', - :value => 'This is the test_new issue' } + assert_tag :textarea, :attributes => { :name => 'issue[description]' }, + :content => 'This is a description' assert_tag :select, :attributes => { :name => 'issue[priority_id]' }, :child => { :tag => 'option', :attributes => { :selected => 'selected', :value => '6' }, |