Skip to content

Commit

Permalink
Add a missing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Feb 27, 2020
1 parent f26a538 commit 39fdeb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/lib/y2firewall/clients/auto_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,10 @@
end
end
end

describe "#packages" do
it "returns a hash with firewalld as a package to be installed" do
expect(subject.packages).to eq("install" => ["firewalld"], "remove" => [])
end
end
end

0 comments on commit 39fdeb1

Please sign in to comment.