Remove old signature test

This commit is contained in:
Carlos Martín Nieto
2013-10-16 14:23:03 +02:00
parent c511675d59
commit 3c9e429038

View File

@@ -1,14 +0,0 @@
-module(sig_test).
-compile([export_all]).
-include_lib("eunit/include/eunit.hrl").
-include("src/geef_records.hrl").
now_test() ->
{ok, Sig} = geef_sig:new("Carlos", "a@b.c"),
?assertMatch(#geef_signature{name = <<"Carlos">>, email = <<"a@b.c">>, time=_}, Sig).
at_test() ->
Time = {os:timestamp(), 120},
{ok, Actual} = geef_sig:new("Carlos", "a@b.c", Time),
Expected = #geef_signature{name = <<"Carlos">>, email = <<"a@b.c">>, time = Time},
?assertEqual(Expected, Actual).