This commit is contained in:
connor rigby 2017-07-31 08:48:26 -07:00
parent 025fd521d8
commit 64ee07df66
2 changed files with 1 additions and 16 deletions

View file

@ -1,16 +0,0 @@
defmodule DownloaderTest do
use ExUnit.Case
# use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney
# WHoops Downloader doesnt use Hackney anymore so this just became untestable
# Trust me it works
# test "downloads a file" do
# use_cassette "good_corpus_request" do
# path = "/tmp/download.thing"
# url = "http://localhost:3000/api/corpuses"
# ret_path = Downloader.run(url, path)
# assert ret_path == path
# assert File.exists?(path)
# end
# end
end

View file

@ -1,5 +1,6 @@
defmodule Farmbot.Serial.HandlerTest do
alias Farmbot.Serial.Handler
@moduletag [:farmbot_serial]
use Farmbot.Test.Helpers.SerialTemplate, async: false
describe "does serial tests" do