1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
require_relative 'minitest_helper' class TestWeb < Minitest::Test include Rack::Test::Methods def app RubyTinderbox end def test_headings get '/repoman_checks' assert last_response.ok? assert last_response.body.include? '<h1>Build Status (CI)</h1>' end end