diff options
author | Azul <azul@riseup.net> | 2016-09-12 16:34:25 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-09-12 16:34:57 +0200 |
commit | ec875169b0231d84bb8c55bbe91c52b896561f1e (patch) | |
tree | bb4b47a79d32744bda8d66b2c02e9343bfc61698 /lib/nickserver/nicknym | |
parent | bc8ddfa1c49b438a563a8a8b9e0472944f71c71c (diff) |
test: separate remote tests into own directory
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.
Also wrote down testing strategy. Not completely implemented yet.
Diffstat (limited to 'lib/nickserver/nicknym')
-rw-r--r-- | lib/nickserver/nicknym/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nickserver/nicknym/source.rb b/lib/nickserver/nicknym/source.rb index 3957cdd..0776a36 100644 --- a/lib/nickserver/nicknym/source.rb +++ b/lib/nickserver/nicknym/source.rb @@ -19,7 +19,7 @@ module Nickserver def get(*args) args[0] = "https://#{args.first}" - adapter.get *args + adapter.get(*args) end end end |