File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ defmodule DemoWeb.Live.CategoryLiveTest do
52
52
conn
53
53
|> visit ( ~p" /admin/categories/#{ category . id } /show" )
54
54
|> assert_has ( "h1" , text: "Category" , exact: true )
55
- |> assert_has ( "p " , text: "Name" , exact: true )
56
- |> assert_has ( "p " , text: category . name , exact: true )
55
+ |> assert_has ( "dt " , text: "Name" , exact: true )
56
+ |> assert_has ( "dd " , text: category . name , exact: true )
57
57
end
58
58
end
59
59
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ defmodule DemoWeb.Live.TagLiveTest do
52
52
conn
53
53
|> visit ( ~p" /admin/tags/#{ tag . id } /show" )
54
54
|> assert_has ( "h1" , text: "Tag" , exact: true )
55
- |> assert_has ( "p " , text: "Name" , exact: true )
56
- |> assert_has ( "p " , text: "Inserted At" , exact: true )
57
- |> assert_has ( "p " , text: tag . name , exact: true )
55
+ |> assert_has ( "dt " , text: "Name" , exact: true )
56
+ |> assert_has ( "dt " , text: "Inserted At" , exact: true )
57
+ |> assert_has ( "dd " , text: tag . name , exact: true )
58
58
end
59
59
end
60
60
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ defmodule DemoWeb.TicketLiveTest do
35
35
conn
36
36
|> visit ( ~p" /admin/tickets/#{ ticket . id } /show" )
37
37
|> assert_has ( "h1" , text: "Ticket" , exact: true )
38
- |> assert_has ( "p " , text: "Subject" , exact: true )
39
- |> assert_has ( "p " , text: "Body" , exact: true )
40
- |> assert_has ( "p " , text: ticket . subject , exact: true )
41
- |> assert_has ( "p " , text: ticket . body , exact: true )
38
+ |> assert_has ( "dt " , text: "Subject" , exact: true )
39
+ |> assert_has ( "dt " , text: "Body" , exact: true )
40
+ |> assert_has ( "dd " , text: ticket . subject , exact: true )
41
+ |> assert_has ( "dd " , text: ticket . body , exact: true )
42
42
end
43
43
end
44
44
end
You can’t perform that action at this time.
0 commit comments