From: Gael Chamoulaud Date: Mon, 20 Jul 2015 13:51:26 +0000 (+0200) Subject: Fix rspec 3.x syntax X-Git-Tag: 7.0.0-mos-rc1~16^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=488599fee83dea47082c6c06ce91d5c3a1438720;p=puppet-modules%2Fpuppet-ceilometer.git Fix rspec 3.x syntax - Convert 'should' keyword to 'is_expected.to' Change-Id: I0e39abc38847e39f924e4f76c01e9c2fd6f37b10 Signed-off-by: Gael Chamoulaud --- diff --git a/spec/acceptance/ceilometer_with_mysql_spec.rb b/spec/acceptance/ceilometer_with_mysql_spec.rb index 989f95b..706f0ef 100644 --- a/spec/acceptance/ceilometer_with_mysql_spec.rb +++ b/spec/acceptance/ceilometer_with_mysql_spec.rb @@ -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