summaryrefslogtreecommitdiffstats
path: root/spec/unit/type/mount_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/type/mount_spec.rb')
-rwxr-xr-xspec/unit/type/mount_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/type/mount_spec.rb b/spec/unit/type/mount_spec.rb
index 0cf52e8d7..30c3aafef 100755
--- a/spec/unit/type/mount_spec.rb
+++ b/spec/unit/type/mount_spec.rb
@@ -120,7 +120,7 @@ describe Puppet::Type.type(:mount)::Ensure do
@ensure.should = :defined
@ensure.sync
end
-
+
it "should not unmount itself if it is mounted and should be defined" do
@provider.stubs(:ensure).returns(:mounted)
@provider.stubs(:mounted?).returns(true)
@@ -131,7 +131,7 @@ describe Puppet::Type.type(:mount)::Ensure do
@ensure.should = :defined
@ensure.sync
end
-
+
it "should not mount itself if it is unmounted and should be defined" do
@provider.stubs(:ensure).returns(:unmounted)
@provider.stubs(:mounted?).returns(false)
@@ -186,7 +186,7 @@ describe Puppet::Type.type(:mount)::Ensure do
@ensure.should = :defined
@ensure.insync?(:mounted).should == true
end
-
+
it "should be insync if it is unmounted and should be defined" do
@ensure.should = :defined
@ensure.insync?(:unmounted).should == true
@@ -196,7 +196,7 @@ describe Puppet::Type.type(:mount)::Ensure do
@ensure.should = :present
@ensure.insync?(:mounted).should == true
end
-
+
it "should be insync if it is unmounted and should be present" do
@ensure.should = :present
@ensure.insync?(:unmounted).should == true