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 end