diff options
author | Azul <azul@riseup.net> | 2016-06-11 15:19:50 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-06-14 10:36:58 +0200 |
commit | f567ed80427d43019ceb1aaf77d4bc6c01e62729 (patch) | |
tree | 8698f379be2d0706e19b72134019a0aa044f132d /test/helpers | |
parent | 92c86fc4e1e6dcb86793992e69dfd0608c118c9a (diff) |
use adapter for FetchKeyInfo
Diffstat (limited to 'test/helpers')
-rw-r--r-- | test/helpers/test_adapter.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/helpers/test_adapter.rb b/test/helpers/test_adapter.rb new file mode 100644 index 0000000..46d4713 --- /dev/null +++ b/test/helpers/test_adapter.rb @@ -0,0 +1,10 @@ +class TestAdapter + def initialize(status, content) + @status = status + @content = content + end + + def get(url, opts) + yield @status, @content + end +end |