summaryrefslogtreecommitdiff
path: root/test/controllers/home_controller_test.rb
blob: 7f5f94c31f3c8c17c6714f2bf32b5bc99ce0e2cc (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 = tartiflettes(:one)
    get root_url
    assert_response :success
    # assert_select "li", tartiflette.scoring_id.to_s
  end
end
Copyright 2019--2025 Marius PETER