lib/foodtaster/rspec/example_methods.rb in foodtaster-0.0.4 vs lib/foodtaster/rspec/example_methods.rb in foodtaster-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
module Foodtaster
module RSpec
module ExampleMethods
def get_vm(vm_name)
- Foodtaster::RSpecRun.current.get_vm(vm_name)
+ Foodtaster::Vm.get(vm_name)
end
def run_chef_on(vm_name, &block)
chef_config = ChefConfig.new.tap{ |conf| block.call(conf) }.to_hash
@previous_chef_config = chef_config