diff options
| author | Luke Kanies <luke@madstop.com> | 2007-11-28 18:44:55 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-11-28 18:44:55 -0600 |
| commit | 811fefa569d4ac960598dc06ffacec0c4e60832c (patch) | |
| tree | 3c08b878e9e231f9751532d331a4c4f7f0ca16db /spec/unit/ral | |
| parent | dedc56a6ae583daca304c053b1be8a52bcdbd13a (diff) | |
| download | puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.tar.gz puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.tar.xz puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.zip | |
Fixing #892 -- filesystem mounts are no longer remounted.
Diffstat (limited to 'spec/unit/ral')
| -rwxr-xr-x | spec/unit/ral/types/mount.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/unit/ral/types/mount.rb b/spec/unit/ral/types/mount.rb index c50f671fd..0c4b94177 100755 --- a/spec/unit/ral/types/mount.rb +++ b/spec/unit/ral/types/mount.rb @@ -185,4 +185,11 @@ describe Puppet::Type::Mount, "when responding to events" do @mount.refresh end + + it "should not remount swap filesystems" do + @mount[:fstype] = "swap" + @provider.expects(:remount).never + + @mount.refresh + end end |
