vagrant/test/unit/plugins/guests/amazon/cap/flavor_test.rb

20 lines
398 B
Ruby
Raw Normal View History

require_relative "../../../../base"
describe "VagrantPlugins::GuestAmazon::Cap::Flavor" do
let(:caps) do
VagrantPlugins::GuestAmazon::Plugin
.components
.guest_capabilities[:amazon]
end
let(:machine) { double("machine") }
describe ".flavor" do
let(:cap) { caps.get(:flavor) }
it "returns rhel" do
expect(cap.flavor(machine)).to be(:rhel)
end
end
end