summaryrefslogtreecommitdiffstats
path: root/test/functional/messages_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-19 18:23:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-19 18:23:45 +0000
commite8469e2c5b41e59a1a204ac730e2c3ab9261b8ff (patch)
tree3b8963c3fb5c9190b25dbef4babe7c962900054e /test/functional/messages_controller_test.rb
parent3386008491aff7d8a3e10d4d7fa84108ce5a8a38 (diff)
downloadredmine-e8469e2c5b41e59a1a204ac730e2c3ab9261b8ff.tar.gz
redmine-e8469e2c5b41e59a1a204ac730e2c3ab9261b8ff.zip
Removes RJS from MessagesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10053 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/messages_controller_test.rb')
-rw-r--r--test/functional/messages_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb
index 294f87035..4bf8ff90f 100644
--- a/test/functional/messages_controller_test.rb
+++ b/test/functional/messages_controller_test.rb
@@ -186,7 +186,10 @@ class MessagesControllerTest < ActionController::TestCase
@request.session[:user_id] = 2
xhr :get, :quote, :board_id => 1, :id => 3
assert_response :success
- assert_select_rjs :show, 'reply'
+ assert_equal 'text/javascript', response.content_type
+ assert_template 'quote'
+ assert_include 'RE: First post', response.body
+ assert_include '> An other reply', response.body
end
def test_preview_new