Sha256: 1e9fe4ab8f5366e8f21168f773a06202ce9fd51acb9d1fa036d0f4d3fe5bdbbd

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

require_relative "test_helper"

class TestApp < Thomler::Application
end

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thomler-0.1.0 test/test_application.rb