test/secure_headers_test.rb in tynn-1.0.0 vs test/secure_headers_test.rb in tynn-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
require_relative "../lib/tynn/secure_headers"
test "secure headers" do
- Tynn.helpers(Tynn::SecureHeaders)
+ Tynn.plugin(Tynn::SecureHeaders)
Tynn.define do
root do
res.write("safe")
end