diff options
author | Chibuikem Amaechi <cramaechi@me.com> | 2018-01-28 06:37:28 -0600 |
---|---|---|
committer | Chibuikem Amaechi <cramaechi@me.com> | 2018-01-29 23:09:32 -0600 |
commit | 0f45f8e107980a2cd49d4786fe5abd77b8085713 (patch) | |
tree | 4c6c76369ab1cb8b2dc643aa34af80ac5c98a41e | |
parent | fd39b4371fa22ce0569f35cb2503b7e2d176a8bb (diff) | |
download | chef-0f45f8e107980a2cd49d4786fe5abd77b8085713.tar.gz |
Update .../mount/mount_spec.rb
Signed-off-by: Chibuikem Amaechi <cramaechi@me.com>
-rw-r--r-- | spec/unit/provider/mount/mount_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb index 20a4fd88dd..908635e958 100644 --- a/spec/unit/provider/mount/mount_spec.rb +++ b/spec/unit/provider/mount/mount_spec.rb @@ -374,6 +374,16 @@ describe Chef::Provider::Mount::Mount do end end + describe "default_mount_options" do + it "should return the correct default mount options for FreeBSD" do + expect(@provider.default_mount_options("freebsd")).to eq("rw") + end + + it "should return the correct default mount options for Linux" do + expect(@provider.default_mount_options("linux")).to eq("defaults") + end + end + describe "when enabling the fs" do it "should enable if enabled isn't true" do @current_resource.enabled(false) |