core: get tests passing for changes
This commit is contained in:
parent
40babfc3f7
commit
c1d56da1ca
|
@ -1,7 +1,7 @@
|
||||||
shared_context "capability_helpers" do
|
shared_context "capability_helpers" do
|
||||||
def detect_class(result)
|
def detect_class(result)
|
||||||
Class.new do
|
Class.new do
|
||||||
define_method(:detect?) do
|
define_method(:detect?) do |*args|
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -225,8 +225,8 @@ describe Vagrant::Machine do
|
||||||
it "should return the configured guest" do
|
it "should return the configured guest" do
|
||||||
result = instance.guest
|
result = instance.guest
|
||||||
result.should be_kind_of(Vagrant::Guest)
|
result.should be_kind_of(Vagrant::Guest)
|
||||||
result.ready?.should be
|
expect(result).to be_ready
|
||||||
result.chain[0][0].should == :test
|
expect(result.capability_host_chain[0][0]).to eql(:test)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue