Sha256: 24f809d4c7a8f52633d8b8b93c6f5de5562bc2035ae84536d3f7070f447ea272

Contents?: true

Size: 435 Bytes

Versions: 10

Compression:

Stored size: 435 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '..', '..', 'test_helper')

class CustomizeActionTest < Test::Unit::TestCase
  setup do
    @runner, @vm, @action = mock_action(Vagrant::Actions::VM::Customize)
  end

  context "executing" do
    should "run the VM customization procs then save the VM" do
      @runner.env.config.vm.expects(:run_procs!).with(@vm)
      @vm.expects(:save).once
      @action.execute!
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
vagrantup-0.3.4 test/vagrant/actions/vm/customize_test.rb
vagrantup-0.3.3 test/vagrant/actions/vm/customize_test.rb
vagrantup-0.3.2 test/vagrant/actions/vm/customize_test.rb
vagrantup-0.3.1 test/vagrant/actions/vm/customize_test.rb
vagrantup-0.3.0 test/vagrant/actions/vm/customize_test.rb
vagrant-0.3.4 test/vagrant/actions/vm/customize_test.rb
vagrant-0.3.3 test/vagrant/actions/vm/customize_test.rb
vagrant-0.3.2 test/vagrant/actions/vm/customize_test.rb
vagrant-0.3.1 test/vagrant/actions/vm/customize_test.rb
vagrant-0.3.0 test/vagrant/actions/vm/customize_test.rb