]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/keystone/spec/shared_examples.rb
try with modules from master
[dsa-puppet.git] / 3rdparty / modules / keystone / spec / shared_examples.rb
index d92156a3618e079ee5ee5f1b86edca31c09bdee7..fec0eacc9826a60e94ab517f68ec7b21f9d36248 100644 (file)
@@ -1,5 +1,5 @@
 shared_examples_for "a Puppet::Error" do |description|
   it "with message matching #{description.inspect}" do
-    expect { should have_class_count(1) }.to raise_error(Puppet::Error, description)
+    expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
   end
 end