# frozen_string_literal: true

require_relative '../test_helper'

class AppTest < Rack::Test::TestCase

test 'GET /' do
  get '/'
  assert_response :ok

<% if options -%>

assert_content_type(:json)

<% else -%>

assert_content_type(:html)

<% end -%>

  assert_body_contains('Smoke test successful!')
end

end