Skip to content

Commit

Permalink
Fix test that requires clean slate
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed May 9, 2019
1 parent 4ff7aea commit 0ac97a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/vintage_net_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ defmodule VintageNetTest do
use VintageNetTest.Case
doctest VintageNet

setup_all do
Application.stop(:vintage_net)
Application.start(:vintage_net)
end

test "configure fails on bad technologies" do
assert {:error, :type_missing} == VintageNet.configure("eth0", %{})
end
Expand Down

0 comments on commit 0ac97a5

Please sign in to comment.