Sha256: bd8026389ec5b3889564e5d3222ef247ef6798fbceca54125a539a147ef02370
Contents?: true
Size: 838 Bytes
Versions: 5
Compression:
Stored size: 838 Bytes
Contents
require 'spec_helper' describe 'postgresql::default' do platforms = { 'ubuntu' => { 'versions' => ['10.04', '12.04', '14.04'] }, 'centos' => { 'versions' => ['6.4', '7.0'] }, 'redhat' => { 'versions' => ['6.5', '7.0'] }, 'debian' => { 'versions' => ['7.6'] } } platforms.each do |platform, config| config['versions'].each do |version| context "on #{platform} #{version}" do let(:chef_run) { ChefSpec::SoloRunner.new( :platform => platform.to_s, :version => version.to_s ) do |node| node.set['postgresql']['password']['postgres'] = 'ilikewaffles' end.converge(described_recipe) } it 'runs no tests' do expect(chef_run) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems