]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/openstacklib/spec/defines/openstacklib_db_mysql_host_access_spec.rb
try with modules from master
[dsa-puppet.git] / 3rdparty / modules / openstacklib / spec / defines / openstacklib_db_mysql_host_access_spec.rb
index 8f47bfa136ea50370ba111153e6871dd837004de..d3e1d30d8b6a1183ea76f46449ab3750d81d59c1 100644 (file)
@@ -19,11 +19,11 @@ describe 'openstacklib::db::mysql::host_access' do
           :privileges    => 'ALL' }
       end
 
-      it { should contain_mysql_user("#{params[:user]}@10.0.0.1").with(
+      it { is_expected.to contain_mysql_user("#{params[:user]}@10.0.0.1").with(
         :password_hash => params[:password_hash]
       )}
 
-      it { should contain_mysql_grant("#{params[:user]}@10.0.0.1/#{params[:database]}.*").with(
+      it { is_expected.to contain_mysql_grant("#{params[:user]}@10.0.0.1/#{params[:database]}.*").with(
         :user       => "#{params[:user]}@10.0.0.1",
         :privileges => 'ALL',
         :table      => "#{params[:database]}.*"