comparison test/functional/issues_controller_test.rb @ 23:ca82a3468d27 cannam

* Merge SVN update from default
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 24 Sep 2010 14:17:42 +0100
parents 40f7cfd4df19
children 94944d00e43c
comparison
equal deleted inserted replaced
21:d0cd1f6335a5 23:ca82a3468d27
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