blob: 631bc1047b448a57bf7727ee34a27a6473adb83f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-module(dreyfus_test_util).
-compile(export_all).
-include_lib("couch/include/couch_db.hrl").
wait_config_change(Key, Value) ->
test_util:wait(fun() ->
case dreyfus_config:get(Key) of
Value -> ok;
_ -> wait
end
end).
|