diff options
Diffstat (limited to 'sdc-os-chef/sdc-os-common/spec')
-rw-r--r-- | sdc-os-chef/sdc-os-common/spec/spec_helper.rb | 2 | ||||
-rw-r--r-- | sdc-os-chef/sdc-os-common/spec/unit/recipes/default_spec.rb | 22 |
2 files changed, 0 insertions, 24 deletions
diff --git a/sdc-os-chef/sdc-os-common/spec/spec_helper.rb b/sdc-os-chef/sdc-os-common/spec/spec_helper.rb deleted file mode 100644 index 1dd5126bf6..0000000000 --- a/sdc-os-chef/sdc-os-common/spec/spec_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -require 'chefspec' -require 'chefspec/berkshelf' diff --git a/sdc-os-chef/sdc-os-common/spec/unit/recipes/default_spec.rb b/sdc-os-chef/sdc-os-common/spec/unit/recipes/default_spec.rb deleted file mode 100644 index bd9841f76e..0000000000 --- a/sdc-os-chef/sdc-os-common/spec/unit/recipes/default_spec.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook:: sdc-os-common -# Spec:: default -# -# Copyright:: 2017, The Authors, All Rights Reserved. - -require 'spec_helper' - -describe 'sdc-os-common::default' do - context 'When all attributes are default, on an Ubuntu 16.04' do - let(:chef_run) do - # for a complete list of available platforms and versions see: - # https://github.com/customink/fauxhai/blob/master/PLATFORMS.md - runner = ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04') - runner.converge(described_recipe) - end - - it 'converges successfully' do - expect { chef_run }.to_not raise_error - end - end -end |