diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-09 08:17:32 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-09 08:17:32 -0800 |
commit | 37e02399a6e1dd281808a556f1420f8cf6e846fd (patch) | |
tree | 86834a5371fccfc474004233e45ab00dd7355574 /spec/unit/resource/mount_spec.rb | |
parent | f073747786abbe6ada55ed24b696a03e39c3c45d (diff) | |
download | chef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz |
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'spec/unit/resource/mount_spec.rb')
-rw-r--r-- | spec/unit/resource/mount_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/resource/mount_spec.rb b/spec/unit/resource/mount_spec.rb index 8741ac3e75..188eaa67d6 100644 --- a/spec/unit/resource/mount_spec.rb +++ b/spec/unit/resource/mount_spec.rb @@ -87,19 +87,19 @@ describe Chef::Resource::Mount do end it "should allow options attribute as an array" do - @resource.options %w(ro nosuid) + @resource.options %w{ro nosuid} expect(@resource.options).to be_a_kind_of(Array) end it "should allow options to be sent as a delayed evaluator" do - @resource.options Chef::DelayedEvaluator.new { %w(rw noexec) } - expect(@resource.options).to eql(%w(rw noexec)) + @resource.options Chef::DelayedEvaluator.new { %w{rw noexec} } + expect(@resource.options).to eql(%w{rw noexec}) end it "should allow options to be sent as a delayed evaluator, and convert to array" do @resource.options Chef::DelayedEvaluator.new { "rw,noexec" } expect(@resource.options).to be_a_kind_of(Array) - expect(@resource.options).to eql(%w(rw noexec)) + expect(@resource.options).to eql(%w{rw noexec}) end it "should accept true for mounted" do |