diff options
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/cron/crontab_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/cron/crontab_spec.rb b/spec/unit/provider/cron/crontab_spec.rb index f4782cc..bda7ddc 100644 --- a/spec/unit/provider/cron/crontab_spec.rb +++ b/spec/unit/provider/cron/crontab_spec.rb @@ -9,7 +9,7 @@ describe Puppet::Type.type(:cron).provider(:crontab) do def compare_crontab_text(have, want) # We should have four header lines, and then the text... - expect(have.lines.to_a[0..3]).to be_all { |x| x =~ %r{^# } } + expect(have.lines.to_a[0..3]).to(be_all { |x| x =~ %r{^# } }) expect(have.lines.to_a[4..-1].join('')).to eq(want) end |