summaryrefslogtreecommitdiff
path: root/spec/unit/resource/mount_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/mount_spec.rb')
-rw-r--r--spec/unit/resource/mount_spec.rb8
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