diff options
author | Jorie Tappa <jorie@jorietappa.com> | 2018-08-01 10:48:39 -0500 |
---|---|---|
committer | Jorie Tappa <jorie@jorietappa.com> | 2018-08-01 10:48:39 -0500 |
commit | e653213db005d50d0c525b69ad2d90c57c888351 (patch) | |
tree | df2144bc9bb15646ec29765f19b7fdf39f732dd6 /spec/unit/provider/cron/crontab_spec.rb | |
parent | c3f7cd8ed5e3a228c12fe82636bd00cc8c8c0c7d (diff) | |
download | puppet-cron_core-e653213db005d50d0c525b69ad2d90c57c888351.tar.gz puppet-cron_core-e653213db005d50d0c525b69ad2d90c57c888351.tar.bz2 |
Fix Lint/AmbiguousBlockAssociation violation
Diffstat (limited to 'spec/unit/provider/cron/crontab_spec.rb')
-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 |