Sha256: e25b24fe3f5f0023be893a30950f227aa5093087ec0bcd42897f1f7cb22994b9
Contents?: true
Size: 360 Bytes
Versions: 10
Compression:
Stored size: 360 Bytes
Contents
require 'test_helper' class FormatsTest < ActiveSupport::TestCase [:xlsx, :ods, :csv].each do |format| test "Registers :#{format} mime type" do assert Mime::Type.lookup_by_extension(format) end test "Registers :#{format} template handler" do assert ActionController::Renderers::RENDERERS.include?(format.to_sym) end end end
Version data entries
10 entries across 10 versions & 1 rubygems