test/unit/plugins/provisioners/shell/config_test.rb in vagrant-unbundled-2.0.0.1 vs test/unit/plugins/provisioners/shell/config_test.rb in vagrant-unbundled-2.0.1.0
- old
+ new
@@ -28,11 +28,11 @@
result = subject.validate(machine)
expect(result["shell provisioner"]).to eq([])
end
- it "passes with fixnum args" do
+ it "passes with integer args" do
subject.path = file_that_exists
subject.args = 1
subject.finalize!
result = subject.validate(machine)
@@ -110,18 +110,18 @@
)
end
end
describe 'finalize!' do
- it 'changes fixnum args into strings' do
+ it 'changes integer args into strings' do
subject.path = file_that_exists
subject.args = 1
subject.finalize!
expect(subject.args).to eq '1'
end
- it 'changes fixnum args in arrays into strings' do
+ it 'changes integer args in arrays into strings' do
subject.path = file_that_exists
subject.args = ["string", 1, 2]
subject.finalize!
expect(subject.args).to eq ["string", '1', '2']