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