anchor.diff:          end},
         {"with token",
           fun() ->
  -          meck:expect(autocluster_httpc, post,
  +          meck:expect(autocluster_httpc, put,
               fun(Scheme, Host, Port, Path, Args, Body) ->
                 ?assertEqual("http", Scheme),
                 ?assertEqual("consul.service.consul", Host),
  
positive.code:               ?assertEqual("en0", NIC),
                {ok, "172.16.4.50"}
              end),
            meck:expect(autocluster_httpc, post,
              fun(Scheme, Host, Port, Path, Args, Body) ->
                ?assertEqual("http", Scheme),
                ?assertEqual("consul.service.consul", Host),
  
negative.code:         ?assert(meck:validate(autocluster_httpc))
         end},
        {"on error", fun() ->
          meck:expect(autocluster_httpc, put,
            fun(_Scheme, _Host, _Port, _Path, _Args, _Body) ->
              {error, "testing"}
            end),
          ?assertEqual({error, "testing"}, autocluster_consul:unregister()),
  