Skip to content

Commit

Permalink
improve eunit coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespharaoh committed Apr 7, 2012
1 parent 63f9825 commit 7d72c9d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/misc/notes_config_test.erl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-module (notes_config_test).

-include ("notes_test.hrl").

% macros

-define (MOCK_MODULES,
[ application ]).

-define (TARGET,
notes_config).

get_test () ->

?EXPECT,

em:strict (Em, application, get_env,
[ key ],
{ return, value }),

?REPLAY,

?assertEqual (
value,
?TARGET:get (key)),

?VERIFY.

0 comments on commit 7d72c9d

Please sign in to comment.