60e37c5eb0
Consolidate all the .rubocop.yml into a single file, finished out cleanups for all the Ruby files. Change-Id: I92d5983724d5d0185cd25bea6a0f46657a6c05d4 Addresses: blueprint rubocop-for-block-storage
23 lines
589 B
Ruby
23 lines
589 B
Ruby
# encoding: UTF-8
|
|
#
|
|
# Cookbook Name:: openstack-block-storage
|
|
|
|
require_relative 'spec_helper'
|
|
|
|
describe 'openstack-block-storage::cinder-common' do
|
|
before { block_storage_stubs }
|
|
before do
|
|
@chef_run = ::ChefSpec::Runner.new ::REDHAT_OPTS do |n|
|
|
n.set['openstack']['mq'] = {
|
|
'host' => '127.0.0.1'
|
|
}
|
|
n.set['openstack']['block-storage']['syslog']['use'] = true
|
|
end
|
|
@chef_run.converge 'openstack-block-storage::cinder-common'
|
|
end
|
|
|
|
it 'installs the openstack-cinder package' do
|
|
expect(@chef_run).to upgrade_package 'openstack-cinder'
|
|
end
|
|
end
|