Add some basic code
This commit is contained in:
8
test/elixir_rss_test.exs
Normal file
8
test/elixir_rss_test.exs
Normal file
@@ -0,0 +1,8 @@
|
||||
defmodule ElixirRssTest do
|
||||
use ExUnit.Case
|
||||
doctest ElixirRss
|
||||
|
||||
test "greets the world" do
|
||||
assert ElixirRss.hello() == :world
|
||||
end
|
||||
end
|
||||
8
test/fetch_rss_test.exs
Normal file
8
test/fetch_rss_test.exs
Normal file
@@ -0,0 +1,8 @@
|
||||
defmodule ElixirRss.FetchTest do
|
||||
use ExUnit.Case
|
||||
doctest ElixirRss.Fetch
|
||||
|
||||
test "fetch url" do
|
||||
assert ElixirRss.Fetch.fetch("https://shillerben.com") |> elem(0) == :ok
|
||||
end
|
||||
end
|
||||
1
test/test_helper.exs
Normal file
1
test/test_helper.exs
Normal file
@@ -0,0 +1 @@
|
||||
ExUnit.start()
|
||||
Reference in New Issue
Block a user