blob: aab02bb16a8d7c53d8b67e6dbe6b903b83b17758 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require "test_helper"
class HomeControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get root_url
assert_response :success
assert_select "h1", "World Tartiflette Tour 2024"
end
test "should list tartiflettes in the index" do
tartiflette = Tartiflette.create!(scoring_id: 1)
get root_url
assert_response :success
assert_select "li", tartiflette.scoring_id.to_s
end
end
|