@@ -38,7 +38,9 class PreviewsControllerTest < ActionController::TestCase | |||
|
38 | 38 | |
|
39 | 39 | def test_preview_issue_notes |
|
40 | 40 | @request.session[:user_id] = 2 |
|
41 | post :issue, :project_id => '1', :id => 1, :issue => {:description => Issue.find(1).description}, :notes => 'Foo' | |
|
41 | post :issue, :project_id => '1', :id => 1, | |
|
42 | :issue => {:description => Issue.find(1).description}, | |
|
43 | :notes => 'Foo' | |
|
42 | 44 | assert_response :success |
|
43 | 45 | assert_template 'preview' |
|
44 | 46 | assert_not_nil assigns(:notes) |
General Comments 0
You need to be logged in to leave comments.
Login now