diff --git a/.kitchen.yml b/.kitchen.yml index 71ae22c..2475df6 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -1,7 +1,7 @@ --- driver : name : <%= if ENV['TRAVIS'] then 'localhost' else 'vagrant' end %> - box : "ubuntu/trusty64" + box : "ubuntu/bionic64" customize : cpus : 2 memory : 2048 @@ -28,4 +28,4 @@ platforms: suites: - name : default provisioner : - playbook : "test/integration/defaults/defaults.yml" \ No newline at end of file + playbook : "test/integration/defaults/defaults.yml" diff --git a/Gemfile b/Gemfile index 1546581..8e8f827 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,5 @@ group :development do gem 'kitchen-vagrant' gem 'kitchen-ansiblepush' gem 'kitchen-localhost' - gem 'net-ssh', '~> 2.0' -end \ No newline at end of file + gem 'net-ssh', '~> 4.0' +end diff --git a/test/integration/defaults/serverspec/default_spec.rb b/test/integration/defaults/serverspec/default_spec.rb index 0fcc962..49430b3 100644 --- a/test/integration/defaults/serverspec/default_spec.rb +++ b/test/integration/defaults/serverspec/default_spec.rb @@ -5,5 +5,5 @@ # Default version describe command('docker --version') do - its(:stdout) { should contain('1.10') } + its(:stdout) { should contain('19.03.5') } end diff --git a/test/integration/defaults/serverspec/main.yml b/test/integration/defaults/serverspec/main.yml index d11fa41..49430b3 100644 --- a/test/integration/defaults/serverspec/main.yml +++ b/test/integration/defaults/serverspec/main.yml @@ -5,5 +5,5 @@ set :backend, :exec # Default version describe command('docker --version') do - its(:stdout) { should contain('1.9') } + its(:stdout) { should contain('19.03.5') } end diff --git a/test/integration/docker-py/serverspec/default_spec.rb b/test/integration/docker-py/serverspec/default_spec.rb index 0fcc962..49430b3 100644 --- a/test/integration/docker-py/serverspec/default_spec.rb +++ b/test/integration/docker-py/serverspec/default_spec.rb @@ -5,5 +5,5 @@ # Default version describe command('docker --version') do - its(:stdout) { should contain('1.10') } + its(:stdout) { should contain('19.03.5') } end