Sha256: a7dab97bccb12dbc67ca69ad9bb0ee6206aa12bf2a152e954a477f0f7d2d79c7
Contents?: true
Size: 409 Bytes
Versions: 71
Compression:
Stored size: 409 Bytes
Contents
require File.expand_path('../helper', __FILE__) 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
71 entries across 69 versions & 7 rubygems