diff options
author | siddheshwar-more <siddheshwar.more@clogeny.com> | 2015-04-21 14:09:11 +0530 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-08-18 12:15:44 -0700 |
commit | a2aaa20335f546e885b5a121d2e7e4cc07ef5523 (patch) | |
tree | 30db5b7675549cf30da05d07cb40b940d16b41e6 | |
parent | 88b19429cb446c2aba036bfa7bcaed506a2672b9 (diff) | |
download | chef-a2aaa20335f546e885b5a121d2e7e4cc07ef5523.tar.gz |
Removed invalid test from mount_fs test
-rw-r--r-- | spec/unit/provider/mount/mount_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb index 52556047cb..dd13a62796 100644 --- a/spec/unit/provider/mount/mount_spec.rb +++ b/spec/unit/provider/mount/mount_spec.rb @@ -323,13 +323,6 @@ describe Chef::Provider::Mount::Mount do @provider.mount_fs() end - it "should remount the filesystem if it is mounted and the options have changed" do - options = "rw,noexec,noauto" - @new_resource.options(%w{rw exec auto}) - expect(@provider).to receive(:shell_out!).with("mount -t ext3 -o remount,rw,exec,auto /dev/sdz1 /tmp/foo") - @provider.mount_fs() - end - it "should not mount the filesystem if it is mounted and the options have not changed" do allow(@current_resource).to receive(:mounted).and_return(true) expect(@provider).to_not receive(:shell_out!) |