1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test/sinatra_test.rb
2009-01-14 14:00:26 -08:00

13 lines
272 B
Ruby

require File.dirname(__FILE__) + '/helper'
describe 'Sinatra' do
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