Sha256: e14757f93a0f658b2e780b99fa4f32386466b6950de00cf66c66eeedadf45513
Contents?: true
Size: 376 Bytes
Versions: 9
Compression:
Stored size: 376 Bytes
Contents
require 'abstract_unit' class OldContentTypeController < ActionController::Base def render_default_for_rjs end end class ContentTypeTest < ActionController::TestCase tests OldContentTypeController def test_default_for_rjs xhr :post, :render_default_for_rjs assert_equal Mime::JS, @response.content_type assert_equal "utf-8", @response.charset end end
Version data entries
9 entries across 9 versions & 1 rubygems