Sha256: e09dcb82314fbf5dad540fc4620a39765ffe60fbf5e5ae75a15d88d4f64598de

Contents?: true

Size: 272 Bytes

Versions: 37

Compression:

Stored size: 272 Bytes

Contents

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

Version data entries

37 entries across 37 versions & 9 rubygems

Version Path
Syd-sinatra-0.9.0.2 test/sinatra_test.rb
Syd-sinatra-0.9.0.4 test/sinatra_test.rb
bmizerany-sinatra-0.8.10 test/sinatra_test.rb
bmizerany-sinatra-0.8.9 test/sinatra_test.rb
bmizerany-sinatra-0.9.0.2 test/sinatra_test.rb
bmizerany-sinatra-0.9.0.4 test/sinatra_test.rb
bmizerany-sinatra-0.9.0.5 test/sinatra_test.rb
bmizerany-sinatra-0.9.1 test/sinatra_test.rb
darkhelmet-sinatra-0.9.0.5 test/sinatra_test.rb
darkhelmet-sinatra-0.9.1.1 test/sinatra_test.rb
darkhelmet-sinatra-0.9.1 test/sinatra_test.rb
p8-castronaut-0.6.1.1 vendor/sinatra/test/sinatra_test.rb
relevance-castronaut-0.6.0 vendor/sinatra/test/sinatra_test.rb
relevance-castronaut-0.6.1 vendor/sinatra/test/sinatra_test.rb
relevance-castronaut-0.7.4 vendor/sinatra/test/sinatra_test.rb
relevance-castronaut-0.7.5 vendor/sinatra/test/sinatra_test.rb
rtomayko-sinatra-0.8.10 test/sinatra_test.rb
rtomayko-sinatra-0.9.0.2 test/sinatra_test.rb
sinatra-sinatra-0.8.10 test/sinatra_test.rb
sinatra-sinatra-0.8.9 test/sinatra_test.rb