diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb index 5656ea82b..716a872d1 100644 --- a/test/functional/previews_controller_test.rb +++ b/test/functional/previews_controller_test.rb @@ -38,7 +38,9 @@ class PreviewsControllerTest < ActionController::TestCase def test_preview_issue_notes @request.session[:user_id] = 2 - post :issue, :project_id => '1', :id => 1, :issue => {:description => Issue.find(1).description}, :notes => 'Foo' + post :issue, :project_id => '1', :id => 1, + :issue => {:description => Issue.find(1).description}, + :notes => 'Foo' assert_response :success assert_template 'preview' assert_not_nil assigns(:notes)