spec/storages/local_spec.rb in vfs-0.3.14 vs spec/storages/local_spec.rb in vfs-0.3.15
- old
+ new
@@ -1,16 +1,24 @@
require 'vfs/storages/local'
require 'vfs/storages/specification'
describe Vfs::Storages::Local do
- it_should_behave_like "vfs storage"
+ with_tmp_spec_dir
before do
- @storage = Vfs::Storages::Local.new
+ @storage = Vfs::Storages::Local.new spec_dir
+ @storage.open
end
- describe 'attributes' do
- it 'created_at'
-
- it 'updated_at'
+ after do
+ @storage.close
end
+
+ it_should_behave_like 'vfs storage basic'
+ it_should_behave_like 'vfs storage attributes basic'
+ it_should_behave_like 'vfs storage files'
+ it_should_behave_like 'vfs storage full attributes for files'
+ it_should_behave_like 'vfs storage dirs'
+ it_should_behave_like 'vfs storage full attributes for dirs'
+ it_should_behave_like 'vfs storage query'
+ it_should_behave_like 'vfs storage tmp dir'
end
\ No newline at end of file