Sha256: cabd71e7db20136d7b151d94e86238e4b202f9f540e8359671f9861abfbcc257

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

require_relative "test_helper"

class TestApp < Rulers::Application
end

class RulersAppTest < 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

3 entries across 3 versions & 1 rubygems

Version Path
erik_rulers-0.0.5 test/test_application.rb
erik_rulers-0.0.4 test/test_application.rb
erik_rulers-0.0.3 test/test_application.rb