summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantima-gupta <agupta@msystechnologies.com>2020-11-11 05:27:17 -0800
committerantima-gupta <agupta@msystechnologies.com>2020-11-11 05:27:17 -0800
commit0a1a92eb1d385da192ae3c599737504345f2d0c8 (patch)
tree37b1de06bfaf9beda3a8d139c607bb0aef5cbbca
parent0dc8f454e8265869549b4b817511e47d99bf442b (diff)
downloadchef-0a1a92eb1d385da192ae3c599737504345f2d0c8.tar.gz
Fixed chefstyle spec failure.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
-rw-r--r--spec/unit/resource/mount_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/mount_spec.rb b/spec/unit/resource/mount_spec.rb
index d9029d3707..933c4f1947 100644
--- a/spec/unit/resource/mount_spec.rb
+++ b/spec/unit/resource/mount_spec.rb
@@ -50,7 +50,7 @@ describe Chef::Resource::Mount do
end
it "raises error when mount_point property is not set" do
- expect{ resource.mount_point nil }.to raise_error(Chef::Exceptions::ValidationFailed, "Property mount_point must be one of: String! You passed nil.")
+ expect { resource.mount_point nil }.to raise_error(Chef::Exceptions::ValidationFailed, "Property mount_point must be one of: String! You passed nil.")
end
it "sets fsck_device to '-' by default" do