diff --git a/test/unit/plugins/guests/pld/cap/flavor_test.rb b/test/unit/plugins/guests/pld/cap/flavor_test.rb new file mode 100644 index 000000000..e20d3a784 --- /dev/null +++ b/test/unit/plugins/guests/pld/cap/flavor_test.rb @@ -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