Sha256: 84641f30e37974f4b721e84c4ee0adc56050ff15b4f460cc36f4c327189503ca
Contents?: true
Size: 246 Bytes
Versions: 4
Compression:
Stored size: 246 Bytes
Contents
require_relative "../lib/tynn/static" test "static" do Tynn.plugin(Tynn::Static, %w(/test), root: Dir.pwd) Tynn.define do end app = Tynn::Test.new app.get("/test/static_test.rb") assert_equal File.read(__FILE__), app.res.body end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tynn-1.4.0 | test/static_test.rb |
tynn-1.3.0 | test/static_test.rb |
tynn-1.2.0 | test/static_test.rb |
tynn-1.1.0 | test/static_test.rb |