diff --git a/test/unit/vagrant/machine_test.rb b/test/unit/vagrant/machine_test.rb index 128df3d6f..22e3a13ca 100644 --- a/test/unit/vagrant/machine_test.rb +++ b/test/unit/vagrant/machine_test.rb @@ -252,10 +252,10 @@ describe Vagrant::Machine do expect(machine).to eql(instance) end - it "should pass any extra options to the environment" do + it "should pass any extra options to the environment as strings" do action_name = :up foo = nil - callable = lambda { |env| foo = env[:foo] } + callable = lambda { |env| foo = env["foo"] } allow(provider).to receive(:action).with(action_name).and_return(callable) instance.action(:up, foo: :bar)