test/test_application.rb in thomler-0.0.7 vs test/test_application.rb in thomler-0.1.0
- old
+ new
@@ -1,18 +1,19 @@
require_relative "test_helper"
class TestApp < Thomler::Application
end
-class ThomlerAppTest < Test::Unit:TestCase
+class ThomlerTestApp < Test::Unit::TestCase
include Rack::Test::Methods
def app
TestApp.new
end
def test_request
get "/"
+
assert last_response.ok?
body = last_response.body
assert body["Hello"]
end