Add some basic code
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
defmodule ElixirRssTest do
|
||||
use ExUnit.Case
|
||||
doctest ElixirRss
|
||||
|
||||
test "greets the world" do
|
||||
assert ElixirRss.hello() == :world
|
||||
end
|
||||
end
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
ExUnit.start()
|
||||
Reference in New Issue
Block a user