Sha256: c84238e63303434e03cd853f030207956ede683ac8191b2785aa21fd9c70ace3

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 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"]]
    assert_equal resp, @config.app.call({})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jubilee-1.0.2 test/jubilee/test_configuration.rb
jubilee-1.0.1 test/jubilee/test_configuration.rb
jubilee-1.0.0 test/jubilee/test_configuration.rb
jubilee-1.0.0.beta1 test/jubilee/test_configuration.rb