Sha256: 8be216fe613a8d57837d9cc9ae0160a8f653bff462c74012d6b22bd76c33cc22
Contents?: true
Size: 330 Bytes
Versions: 6
Compression:
Stored size: 330 Bytes
Contents
require_relative "spec_helper" module Nyara describe RouteEntry do it "#set_accept_exts" do r = RouteEntry.new r.set_accept_exts ['html', :js] assert_equal [%w"text html html", %w"application javascript js"], r.accept_mimes assert_equal ({'html'=>true, 'js'=>true}), r.accept_exts end end end
Version data entries
6 entries across 6 versions & 1 rubygems