Sha256: b71aa1c138c5c7619a000f71f7f317dae1ac0b407ba2c4e4b4c30812a1a7e24f

Contents?: true

Size: 394 Bytes

Versions: 40

Compression:

Stored size: 394 Bytes

Contents

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

describe Vagrant::Action::Environment do
  let(:instance) { described_class.new }

  it "should be a hash" do
    instance.should be_empty
    instance["foo"] = "bar"
    instance["foo"].should == "bar"
  end

  it "should be a hash accessible by string or symbol" do
    instance["foo"] = "bar"
    instance[:foo].should == "bar"
  end
end

Version data entries

40 entries across 40 versions & 6 rubygems

Version Path
bmhatfield-vagrant-1.0.10 test/unit/vagrant/action/environment_test.rb
bmhatfield-vagrant-1.0.9 test/unit/vagrant/action/environment_test.rb
bmhatfield-vagrant-1.0.8 test/unit/vagrant/action/environment_test.rb
bmhatfield-vagrant-1.0.7 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.7 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.6 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.5 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.4 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.3 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.2 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.1 test/unit/vagrant/action/environment_test.rb
vagrantup-1.0.0 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.99.2 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.99.1 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.7 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.6 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.5 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.4 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.3 test/unit/vagrant/action/environment_test.rb
vagrantup-0.9.2 test/unit/vagrant/action/environment_test.rb