aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJorie Tappa <jorie@jorietappa.com>2018-08-01 10:48:39 -0500
committerJorie Tappa <jorie@jorietappa.com>2018-08-01 10:48:39 -0500
commite653213db005d50d0c525b69ad2d90c57c888351 (patch)
treedf2144bc9bb15646ec29765f19b7fdf39f732dd6 /spec
parentc3f7cd8ed5e3a228c12fe82636bd00cc8c8c0c7d (diff)
downloadpuppet-cron_core-e653213db005d50d0c525b69ad2d90c57c888351.tar.gz
puppet-cron_core-e653213db005d50d0c525b69ad2d90c57c888351.tar.bz2
Fix Lint/AmbiguousBlockAssociation violation
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/provider/cron/crontab_spec.rb2
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