blob: bd9841f76ef541bab4ab07756621db046f1bfedc [file] [log] [blame]
Michael Lando6e600062017-06-19 19:51:24 +03001#
2# Cookbook:: sdc-os-common
3# Spec:: default
4#
5# Copyright:: 2017, The Authors, All Rights Reserved.
6
7require 'spec_helper'
8
9describe 'sdc-os-common::default' do
10 context 'When all attributes are default, on an Ubuntu 16.04' do
11 let(:chef_run) do
12 # for a complete list of available platforms and versions see:
13 # https://github.com/customink/fauxhai/blob/master/PLATFORMS.md
14 runner = ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04')
15 runner.converge(described_recipe)
16 end
17
18 it 'converges successfully' do
19 expect { chef_run }.to_not raise_error
20 end
21 end
22end