vaguerent/test/unit/vagrant/plugin/v1/provider_test.rb
Mitchell Hashimoto 1a2a8b49c0 Provider API to return SSH info, must implement ssh_info.
Since SSH is such a critical part of Vagrant, each provider must
implement a method that returns the proper way to SSH into the machine.
2012-08-05 12:41:05 -07:00

19 lines
471 B
Ruby

require File.expand_path("../../../../base", __FILE__)
describe Vagrant::Plugin::V1::Provider do
let(:machine) { Object.new }
let(:instance) { described_class.new(machine) }
it "should return nil by default for actions" do
instance.action(:whatever).should be_nil
end
it "should return nil by default for ssh info" do
instance.ssh_info.should be_nil
end
it "should return nil by default for state" do
instance.state.should be_nil
end
end