summaryrefslogtreecommitdiffstats
path: root/test/functional/previews_controller_test.rb
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-12-10 19:29:21 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-12-10 19:29:21 +0000
commit2304f5d42c2bb1829b1cf9055c2848db116742d3 (patch)
treec3760ba15df5807a49f260c9036a660267eeb7ba /test/functional/previews_controller_test.rb
parentaba07a860f9583c6ee17e83f54b4002ceec50122 (diff)
downloadredmine-2304f5d42c2bb1829b1cf9055c2848db116742d3.tar.gz
redmine-2304f5d42c2bb1829b1cf9055c2848db116742d3.zip
Fixed notes preview in issue history broken and hidden by a broken test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10975 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/previews_controller_test.rb')
-rw-r--r--test/functional/previews_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb
index 27739ca11..83e2dd473 100644
--- a/test/functional/previews_controller_test.rb
+++ b/test/functional/previews_controller_test.rb
@@ -48,7 +48,7 @@ class PreviewsControllerTest < ActionController::TestCase
def test_preview_journal_notes_for_update
@request.session[:user_id] = 2
- post :issue, :project_id => '1', :id => 1, :issue => {:notes => 'Foo'}
+ post :issue, :project_id => '1', :id => 1, :notes => 'Foo'
assert_response :success
assert_template 'preview'
assert_not_nil assigns(:notes)