test/default_headers_test.rb in tynn-2.0.0.alpha vs test/default_headers_test.rb in tynn-2.0.0.beta1
- old
+ new
@@ -2,10 +2,10 @@
require_relative "helper"
class DefaultHeadersTest < Minitest::Test
def setup
- @app = Class.new(Tynn)
+ @app = new_app
end
def test_set_and_get_headers
@app.set(:default_headers, "Content-Type" => "text/plain")