diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-09 13:38:37 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | 86b7ae916e37a17e9f764bcc6699b7cd38e6d732 (patch) | |
tree | a0f939fa5a7bb598723a4543c2acc5a6654a01b9 /spec/unit/chef_fs | |
parent | 392814db246c40549504d935bed94ad5d6442bfa (diff) | |
download | chef-86b7ae916e37a17e9f764bcc6699b7cd38e6d732.tar.gz |
fixing Lint/Void cop
Diffstat (limited to 'spec/unit/chef_fs')
-rw-r--r-- | spec/unit/chef_fs/parallelizer.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/chef_fs/parallelizer.rb b/spec/unit/chef_fs/parallelizer.rb index 818837fb4a..84637f7283 100644 --- a/spec/unit/chef_fs/parallelizer.rb +++ b/spec/unit/chef_fs/parallelizer.rb @@ -35,9 +35,9 @@ describe Chef::ChefFS::Parallelizer do context "With :ordered => false (unordered output)" do it "An empty input produces an empty output" do - parallelize([], :ordered => false) do + expect(parallelize([], :ordered => false) do sleep 10 - end.to_a == [] + end.to_a).to eql([]) expect(elapsed_time).to be < 0.1 end @@ -107,9 +107,9 @@ describe Chef::ChefFS::Parallelizer do context "With :ordered => true (ordered output)" do it "An empty input produces an empty output" do - parallelize([]) do + expect(parallelize([]) do sleep 10 - end.to_a == [] + end.to_a).to eql([]) expect(elapsed_time).to be < 0.1 end |