guests/pld: Add tests for flavor
This commit is contained in:
parent
9702abb5c4
commit
cf989d1534
|
@ -0,0 +1,21 @@
|
|||
require_relative "../../../../base"
|
||||
|
||||
describe "VagrantPlugins::GuestPld::Cap::Flavor" do
|
||||
let(:caps) do
|
||||
VagrantPlugins::GuestPld::Plugin
|
||||
.components
|
||||
.guest_capabilities[:pld]
|
||||
end
|
||||
|
||||
let(:machine) { double("machine") }
|
||||
|
||||
describe ".flavor" do
|
||||
let(:cap) { caps.get(:flavor) }
|
||||
|
||||
let(:name) { "banana-rama.example.com" }
|
||||
|
||||
it "is pld" do
|
||||
expect(cap.flavor(machine)).to be(:pld)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue