dbd 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.txt +5 -0
- data/lib/dbd/fact/collection.rb +4 -0
- data/lib/dbd/version.rb +1 -1
- data/spec/lib/dbd/fact/collection/collection_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13af9d019e4b27d4833ee8630d0c5bf039a7aaab
|
4
|
+
data.tar.gz: ed9e32664574ea16ae259b5ba86e22b4692a8609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97555491b38015176f6e0fbef78653203da669090da4e0d778e85c7045138e106f10558b02c526db7c97166f3da46ae90917f7be0557ac6e36ff1210972d5a78
|
7
|
+
data.tar.gz: 01a111a1f113c469d95749dcdc68ddaaf806295be267ca47c14bcae4a82e013837ae79160f8eabb4e05f223a73c02346a1f03d6dd55f4a4437004d3ad6939d05
|
data/HISTORY.txt
CHANGED
data/lib/dbd/fact/collection.rb
CHANGED
data/lib/dbd/version.rb
CHANGED
@@ -167,6 +167,18 @@ module Dbd
|
|
167
167
|
end
|
168
168
|
end
|
169
169
|
|
170
|
+
describe 'subjects : ' do
|
171
|
+
it 'finds all subjects' do
|
172
|
+
subject << context_fact_visibility
|
173
|
+
subject << context_fact_created_by # same subject as previous line
|
174
|
+
subject << fact_2_with_subject
|
175
|
+
subject << fact_3_with_subject
|
176
|
+
subject.subjects.first.should == context_fact_visibility.subject
|
177
|
+
subject.subjects.last.should == fact_3_with_subject.subject
|
178
|
+
subject.subjects.size.should == 3
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
170
182
|
describe 'TestFactories::Fact::Collection' do
|
171
183
|
describe '.fact_2_3' do
|
172
184
|
it 'has the given context_subject with explicit subject arg' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Vandenabeele
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|