Sha256: dc17fd05498663f691c5aa0bc439d1383b4d9ed39c683ec2b8741f2ebbd470a2
Contents?: true
Size: 403 Bytes
Versions: 10
Compression:
Stored size: 403 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class SinatraTest < Test::Unit::TestCase it 'creates a new Sinatra::Base subclass on new' do app = Sinatra.new do get '/' do 'Hello World' end end assert_same Sinatra::Base, app.superclass end it "responds to #template_cache" do assert_kind_of Tilt::Cache, Sinatra::Base.new.template_cache end end
Version data entries
10 entries across 10 versions & 1 rubygems