Sha256: 335a12a4905f4b5f977f2fcf5535fb37991fc7ef66a9c50a258419c5eef7b406
Contents?: true
Size: 334 Bytes
Versions: 40
Compression:
Stored size: 334 Bytes
Contents
require 'test/unit' require 'puma' require 'puma/configuration' class TestConfigFile < Test::Unit::TestCase def test_app_from_app_DSL opts = { :config_file => "test/config/app.rb" } conf = Puma::Configuration.new opts conf.load app = conf.app assert_equal [200, {}, ["embedded app"]], app.call({}) end end
Version data entries
40 entries across 40 versions & 2 rubygems