diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/messages_controller_test.rb | 5 |
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 |