Skip to content

Instantly share code, notes, and snippets.

@Gustav-Simonsson
Created January 18, 2013 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gustav-Simonsson/4564310 to your computer and use it in GitHub Desktop.
Save Gustav-Simonsson/4564310 to your computer and use it in GitHub Desktop.
migrate with rpc
5> el_pl:is_sublist([apa], [apa, varg]).
true
6> meck:new(el_pl).
ok
7> meck:expect(el_pl, is_sublist, fun(List1, List2) ->
rpc:call('nodeattmigreratill@vargarna.nu', el_pl, is_sublist, [List1, List2]) end).
ok
8>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment