Sha256: b52f5433187204fb1d328b3bd48159d494a5f4b4b70f1c7918667cabe3fd7f6a

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

require File.expand_path('../helper', __FILE__)

class AldebaranTest < Test::Unit::TestCase
  it 'creates a new aldebaran::Base subclass on new' do
    app =
      aldebaran.new do
        get '/' do
          'Hello World'
        end
      end
    assert_same aldebaran::Base, app.superclass
  end
  
  it "responds to #template_cache" do
    assert_kind_of Tilt::Cache, aldebaran::Base.new!.template_cache
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aldebaran-1.0.1 test/aldebaran_test.rb