Sha256: b4b4dfe9856a7582c610f3f87a3e4afa94d182e3d008189ee5d4dada6b3ae436

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'test_helper'
require 'jubilee/configuration'

class TestConfig < MiniTest::Unit::TestCase
  def setup
    @config = Jubilee::Configuration.new({rackup: "config/app.rb"})
  end
  def test_load
    resp = [200, {"Content-Type" => "text/plain"}, ["embeded app"]]
    #skip "hard to test because of Rack::Lint"
    assert_equal resp, @config.app.call({})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jubilee-0.5.0 test/jubilee/test_config.rb