]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Fix rspec 3.x syntax
authorGael Chamoulaud <gchamoul@redhat.com>
Mon, 20 Jul 2015 13:51:26 +0000 (15:51 +0200)
committerGael Chamoulaud <gchamoul@redhat.com>
Mon, 20 Jul 2015 13:51:26 +0000 (15:51 +0200)
- Convert 'should' keyword to 'is_expected.to'

Change-Id: I0e39abc38847e39f924e4f76c01e9c2fd6f37b10
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
spec/acceptance/ceilometer_with_mysql_spec.rb

index 989f95b7f3d4e11032e93cfc1eb23b42543ca977..706f0effd6c545fcfc4fe547c58ee55afd57a6bd 100644 (file)
@@ -121,7 +121,7 @@ describe 'ceilometer with mysql' do
     end
 
     describe cron do
-      it { should have_entry('1 0 * * * ceilometer-expirer').with_user('ceilometer') }
+      it { is_expected.to have_entry('1 0 * * * ceilometer-expirer').with_user('ceilometer') }
     end
 
   end