lib/file_model/spec.rb in file_model-0.0.6 vs lib/file_model/spec.rb in file_model-0.0.7
- old
+ new
@@ -17,13 +17,13 @@
class << self
def with_file_model
tmp = '/tmp/file_model_test'.to_dir
before do
- tmp.destroy.create
+ tmp.delete.create
FileModel.box = Vos::Box.new(Vos::Drivers::Local.new(root: tmp.path))
end
- after{tmp.destroy}
+ after{tmp.delete}
end
end
end
\ No newline at end of file