Sha256: 342bcafc416af3c44d8f6a75816a902d7e6a97be79f21b7df595a020be5a1ea6

Contents?: true

Size: 666 Bytes

Versions: 19

Compression:

Stored size: 666 Bytes

Contents

require "pathname"

require File.expand_path("../../base", __FILE__)

describe Vagrant::MachineState do
  include_context "unit"

  let(:id) { :some_state }
  let(:short) { "foo" }
  let(:long) { "I am a longer foo" }

  it "should give access to the id" do
    instance = described_class.new(id, short, long)
    instance.id.should == id
  end

  it "should give access to the short description" do
    instance = described_class.new(id, short, long)
    instance.short_description.should == short
  end

  it "should give access to the long description" do
    instance = described_class.new(id, short, long)
    instance.long_description.should == long
  end
end

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/machine_state_test.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/machine_state_test.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/machine_state_test.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/machine_state_test.rb
tnargav-1.3.6 test/unit/vagrant/machine_state_test.rb
tnargav-1.3.3 test/unit/vagrant/machine_state_test.rb
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/machine_state_test.rb
tnargav-1.2.3 test/unit/vagrant/machine_state_test.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/machine_state_test.rb
vagrant-shell-0.2.6 vendor/bundle/gems/tnargav-1.2.2/test/unit/vagrant/machine_state_test.rb
vagrant-shell-0.2.5 vendor/bundle/gems/tnargav-1.2.2/test/unit/vagrant/machine_state_test.rb
tnargav-1.2.2 test/unit/vagrant/machine_state_test.rb
vagrantup-1.1.3 test/unit/vagrant/machine_state_test.rb
vagrantup-1.1.2 test/unit/vagrant/machine_state_test.rb
vagrantup-1.1.1 test/unit/vagrant/machine_state_test.rb
vagrantup-1.1.0 test/unit/vagrant/machine_state_test.rb
vagrantup-1.1.4 test/unit/vagrant/machine_state_test.rb
vagrant-actionio-0.0.9 vendor/bundle/bundler/gems/vagrant-c74251a1d9c0/test/unit/vagrant/machine_state_test.rb
vagrant-lxc-0.0.1 vendor/vagrant/test/unit/vagrant/machine_state_test.rb