diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 10:46:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 10:46:44 +0000 |
commit | 9c650540baa026da37af7316fa14662d61ce70ec (patch) | |
tree | 44cb5839322ae52880f1b00bbac0bbaba9e7a839 /test/functional/previews_controller_test.rb | |
parent | f21fd28917d2a5b97db46cc5f567e28f27342a40 (diff) | |
download | redmine-9c650540baa026da37af7316fa14662d61ce70ec.tar.gz redmine-9c650540baa026da37af7316fa14662d61ce70ec.zip |
code layout clean up of test_preview_issue_notes at test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7533 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/previews_controller_test.rb')
-rw-r--r-- | test/functional/previews_controller_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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) |