From a2aaa20335f546e885b5a121d2e7e4cc07ef5523 Mon Sep 17 00:00:00 2001 From: siddheshwar-more Date: Tue, 21 Apr 2015 14:09:11 +0530 Subject: Removed invalid test from mount_fs test --- spec/unit/provider/mount/mount_spec.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'spec/unit/provider/mount/mount_spec.rb') 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!) -- cgit v1.2.1