Sha256: 7464e2e9b52503c17fddaf195e9cc385f5198b8249d61dcab1380df4068ea469

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 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
    @config.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

2 entries across 2 versions & 1 rubygems

Version Path
jubilee-0.2.0 test/jubilee/test_config.rb
jubilee-0.1.2 test/jubilee/test_config.rb