summaryrefslogtreecommitdiffstats
path: root/spec/unit
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-01 17:39:06 -0600
committerJames Turnbull <james@lovedthanlost.net>2008-12-02 10:41:39 +1100
commit0c6a151fdc8270861634c6a2088829055aa26aa4 (patch)
tree4d8fd835de33a19641a17df7581f357489c72053 /spec/unit
parent968f5cc9014c235a95f7c432da5c4033ddc2c9f7 (diff)
downloadpuppet-0c6a151fdc8270861634c6a2088829055aa26aa4.tar.gz
puppet-0c6a151fdc8270861634c6a2088829055aa26aa4.tar.xz
puppet-0c6a151fdc8270861634c6a2088829055aa26aa4.zip
Fixing a test that fails depending on test execution order
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit')
-rwxr-xr-xspec/unit/provider/mount/parsed.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/provider/mount/parsed.rb b/spec/unit/provider/mount/parsed.rb
index ba65b70a4..df0e992f8 100755
--- a/spec/unit/provider/mount/parsed.rb
+++ b/spec/unit/provider/mount/parsed.rb
@@ -130,11 +130,11 @@ describe provider_class do
describe provider_class, " when modifying the filesystem tab" do
include ParsedMountTesting
before do
- @mount = mkmount
- @target = @provider_class.default_target
-
# Never write to disk, only to RAM.
@provider_class.stubs(:filetype).returns(Puppet::Util::FileType.filetype(:ram))
+
+ @mount = mkmount
+ @target = @provider_class.default_target
end
it "should write the mount to disk when :flush is called" do