Skip to content

Commit 37b5a41

Browse files
add article to home
1 parent 3296458 commit 37b5a41

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

priv/articles/home.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ Fifteen years into my software journey, I've found my home in Elixir and functio
33

44
## Articles
55
- [Phoenix is Great... but you can build elixir web apps without it.](/you-dont-need-phoenix)
6+
- [How I Use LLM's to Extract Structured Data](/structured-data-extraction-llms)

test/boc/router_test.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ defmodule Boc.RouterTest do
44
import Plug.Test
55
# import Plug.Conn
66

7-
test "/ returns hello world" do
7+
test "/ returns home route" do
88
conn =
99
conn(:get, "/")
1010
|> Boc.Router.call([])
1111

1212
assert conn.status === 200
13-
assert conn.resp_body === "hello world!"
13+
assert conn.resp_body =~ "About me"
14+
assert conn.resp_body =~ "Articles"
1415
end
1516

1617
test "unmatched route returns 404" do

0 commit comments

Comments
 (0)