Sha256: e2abfbe66aa388dd369c71d8c7ec2da9c44b58971318cfe12e044fb943adff2e

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

require_relative 'test_helper'

class TestApp < Highway::Application
end
class HighwayAppTest < 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
highways-0.0.2 test/test_application.rb