kaiho/test/controllers/home_controller_test.rb

10 lines
236 B
Ruby

require 'test_helper'
class HomeControllerTest < ActionDispatch::IntegrationTest
test 'should get index' do
get root_url
assert_response :success
assert_select 'title', 'Kaiho'
assert_select 'h3', 'Welcome'
end
end