vfs 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,15 +2,15 @@ require 'vfs/storages/local'
2
2
  require 'vfs/storages/specification'
3
3
 
4
4
  describe Vfs::Storages::Local do
5
- it_should_behave_like "vfs storage"
6
-
5
+ it_should_behave_like "vfs storage"
6
+
7
7
  before do
8
8
  @storage = Vfs::Storages::Local.new
9
9
  end
10
-
10
+
11
11
  describe 'attributes' do
12
12
  it 'created_at'
13
-
13
+
14
14
  it 'updated_at'
15
15
  end
16
16
  end
@@ -2,42 +2,42 @@ require 'spec_helper'
2
2
 
3
3
  describe 'UniversalEntry' do
4
4
  with_test_fs
5
-
5
+
6
6
  before do
7
7
  @path = test_fs['a/b/c']
8
8
  end
9
-
9
+
10
10
  describe 'existence' do
11
11
  it "should check both files and dirs" do
12
12
  @path.should_not exist
13
13
  @path.dir.create
14
- @path.should be_dir
14
+ @path.should be_dir
15
15
  @path.should exist
16
-
16
+
17
17
  @path.file.create!
18
18
  @path.should be_file
19
19
  @path.should exist
20
20
  end
21
21
  end
22
-
22
+
23
23
  describe 'destroying' do
24
24
  it "should destroy both files and dirs" do
25
25
  @path.dir.create
26
26
  @path.should be_dir
27
27
  @path.destroy
28
- @path.should_not exist
29
-
28
+ @path.should_not exist
29
+
30
30
  @path.file.create
31
31
  @path.should be_file
32
32
  @path.destroy
33
33
  @path.should_not exist
34
34
  end
35
-
35
+
36
36
  it "shouldn't raise if file not exist" do
37
37
  @path.destroy
38
38
  end
39
39
  end
40
-
40
+
41
41
  describe 'copy_to'
42
42
  describe 'move_to'
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12
4
+ version: 0.3.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: