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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/mount_spec.rb b/spec/unit/resource/mount_spec.rb
index 53efb055e8..ea20511990 100644
--- a/spec/unit/resource/mount_spec.rb
+++ b/spec/unit/resource/mount_spec.rb
@@ -92,12 +92,12 @@ describe Chef::Resource::Mount do
end
it "should allow options to be sent as a delayed evaluator" do
- @resource.options Chef::DelayedEvaluator.new {["rw", "noexec"]}
+ @resource.options Chef::DelayedEvaluator.new { ["rw", "noexec"] }
expect(@resource.options).to eql(["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"}
+ @resource.options Chef::DelayedEvaluator.new { "rw,noexec" }
expect(@resource.options).to be_a_kind_of(Array)
expect(@resource.options).to eql(["rw", "noexec"])
end