Removes RJS from MessagesController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10053 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-07-19 18:23:45 +00:00
parent 3386008491
commit e8469e2c5b
3 changed files with 15 additions and 15 deletions
+4 -1
View File
@@ -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