collector 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/collector/repository.rb +1 -1
- data/lib/collector/version.rb +1 -1
- data/test/collector/repository_spec.rb +1 -1
- metadata +2 -2
data/lib/collector/repository.rb
CHANGED
data/lib/collector/version.rb
CHANGED
@@ -90,7 +90,7 @@ describe Collector::Repository do
|
|
90
90
|
documents = [document_1, document_2]
|
91
91
|
TestRepository.expects(:deserialize!).with(document_1)
|
92
92
|
TestRepository.expects(:deserialize!).with(document_2)
|
93
|
-
collection = mock { expects(:
|
93
|
+
collection = mock { expects(:find).returns(documents) }
|
94
94
|
TestRepository.expects(:collection).returns(collection)
|
95
95
|
TestRepository.all
|
96
96
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|