Explicitly load directory object instead of reloading in spec

This commit is contained in:
galfert 2012-10-07 19:15:12 +02:00
parent c542350185
commit e7c2415348

View File

@ -88,7 +88,7 @@ describe "Directories" do
put "/jimmy/tasks/private/projects/world-domination/start", "write a manifesto"
object = data_bucket.get("jimmy:tasks/private/projects/world-domination:start")
directory.reload
directory = directory_bucket.get("jimmy:tasks")
directory.data.to_i.must_equal object.last_modified.to_i
end