Adding strict dependency on python cookbook version. This removes the requirement for carrying a matcher in this cookbook for the python LWRPs. Change-Id: I3e58c029044aa76fef71372e6a06f8f307d29df7
		
			
				
	
	
		
			17 lines
		
	
	
		
			389 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			389 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# encoding: UTF-8
 | 
						|
require_relative 'spec_helper'
 | 
						|
 | 
						|
describe 'openstack-block-storage::client' do
 | 
						|
  describe 'ubuntu' do
 | 
						|
    let(:runner) { ChefSpec::Runner.new(UBUNTU_OPTS) }
 | 
						|
    let(:node) { runner.node }
 | 
						|
    let(:chef_run) do
 | 
						|
      runner.converge(described_recipe)
 | 
						|
    end
 | 
						|
 | 
						|
    it 'installs packages' do
 | 
						|
      expect(chef_run).to upgrade_package('python-cinderclient')
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |