diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-01 17:39:06 -0600 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-12-02 10:41:39 +1100 |
| commit | 0c6a151fdc8270861634c6a2088829055aa26aa4 (patch) | |
| tree | 4d8fd835de33a19641a17df7581f357489c72053 /spec/unit | |
| parent | 968f5cc9014c235a95f7c432da5c4033ddc2c9f7 (diff) | |
| download | puppet-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-x | spec/unit/provider/mount/parsed.rb | 6 |
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 |
