diff options
Diffstat (limited to 'spec/unit/provider')
-rwxr-xr-x | spec/unit/provider/mount/parsed.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/provider/mount/parsed.rb b/spec/unit/provider/mount/parsed.rb index cf9feaa94..10329e404 100755 --- a/spec/unit/provider/mount/parsed.rb +++ b/spec/unit/provider/mount/parsed.rb @@ -140,10 +140,12 @@ describe provider_class do end it "should write the mount to disk when :flush is called" do + old_text = @provider_class.target_object(@provider_class.default_target).read + @mount.flush text = @provider_class.target_object(@provider_class.default_target).read - text.should == @mount.class.to_line(@mount.property_hash) + "\n" + text.should == old_text + @mount.class.to_line(@mount.property_hash) + "\n" end end |