puppet-cinder/spec/defines/cinder_backend_solidfire_spec.rb
Bryan Stillwell d4040c7b08 Switch to using the new SolidFire driver name
The driver name for the SolidFire driver switched back in July of 2013:

fd139faaf3

There was a mapping of the old driver name to the new driver name until
April 2014 which is when it was removed:

64f71b3306

With the Juno release the old driver name (SolidFire) can't be used any
more and must be changed to the new one (SolidFireDriver).

Change-Id: I5f127931b924209793f1d8fff4299b44b50291b7
2015-02-03 17:05:48 -07:00

31 lines
791 B
Ruby

require 'spec_helper'
describe 'cinder::backend::solidfire' do
let (:title) { 'solidfire' }
let :req_params do
{
:san_ip => '127.0.0.2',
:san_login => 'solidfire',
:san_password => 'password',
}
end
let :params do
req_params
end
describe 'solidfire volume driver' do
it 'configure solidfire volume driver' do
should contain_cinder_config('solidfire/volume_driver').with_value(
'cinder.volume.drivers.solidfire.SolidFireDriver')
should contain_cinder_config('solidfire/san_ip').with_value(
'127.0.0.2')
should contain_cinder_config('solidfire/san_login').with_value(
'solidfire')
should contain_cinder_config('solidfire/san_password').with_value(
'password')
end
end
end