comparison test/functional/.svn/text-base/issues_controller_test.rb.svn-base @ 22:40f7cfd4df19

* Update to SVN trunk rev 4173
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 24 Sep 2010 14:06:04 +0100
parents 1d32c0a0efbf
children 94944d00e43c
comparison
equal deleted inserted replaced
14:1d32c0a0efbf 22:40f7cfd4df19
403 post :create, :project_id => 1, 403 post :create, :project_id => 1,
404 :issue => {:tracker_id => 3, 404 :issue => {:tracker_id => 3,
405 :subject => 'This is first issue', 405 :subject => 'This is first issue',
406 :priority_id => 5}, 406 :priority_id => 5},
407 :continue => '' 407 :continue => ''
408 assert_redirected_to :controller => 'issues', :action => 'new', :issue => {:tracker_id => 3} 408 assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook',
409 :issue => {:tracker_id => 3}
409 end 410 end
410 411
411 def test_post_create_without_custom_fields_param 412 def test_post_create_without_custom_fields_param
412 @request.session[:user_id] = 2 413 @request.session[:user_id] = 2
413 assert_difference 'Issue.count' do 414 assert_difference 'Issue.count' do