dbd 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/Guardfile +2 -2
  3. data/HISTORY.txt +11 -0
  4. data/README.md +24 -5
  5. data/bin/test_4.rb +2 -2
  6. data/bin/test_6.rb +2 -2
  7. data/docs/test.rb +1 -1
  8. data/lib/dbd/fact.rb +35 -67
  9. data/lib/dbd/fact/factory.rb +90 -0
  10. data/lib/dbd/fact/id.rb +2 -2
  11. data/lib/dbd/fact/subject.rb +2 -2
  12. data/lib/dbd/graph.rb +4 -6
  13. data/lib/dbd/helpers/uuid.rb +2 -2
  14. data/lib/dbd/resource.rb +1 -1
  15. data/lib/dbd/time_stamp.rb +16 -7
  16. data/lib/dbd/version.rb +1 -1
  17. data/spec/lib/dbd/fact/collection/collection_spec.rb +59 -59
  18. data/spec/lib/dbd/fact/factory/factory_spec.rb +109 -0
  19. data/spec/lib/dbd/fact/id/id_spec.rb +4 -4
  20. data/spec/lib/dbd/fact/id/test_factories_spec.rb +14 -0
  21. data/spec/lib/dbd/fact/methods_spec.rb +53 -57
  22. data/spec/lib/dbd/fact/new_spec.rb +32 -55
  23. data/spec/lib/dbd/fact/subject/subject_spec.rb +3 -3
  24. data/spec/lib/dbd/fact/subject/test_factories_spec.rb +23 -0
  25. data/spec/lib/dbd/fact/test_factories_spec.rb +82 -0
  26. data/spec/lib/dbd/graph/add_to_graph_spec.rb +31 -31
  27. data/spec/lib/dbd/graph/from_csv_spec.rb +47 -20
  28. data/spec/lib/dbd/graph/test_factories_spec.rb +58 -0
  29. data/spec/lib/dbd/graph/to_csv_spec.rb +46 -45
  30. data/spec/lib/dbd/helpers/ordered_set_collection/ordered_set_collection_spec.rb +17 -17
  31. data/spec/lib/dbd/helpers/uuid/uuid_spec.rb +11 -5
  32. data/spec/lib/dbd/performance_spec.rb +6 -6
  33. data/spec/lib/dbd/provenance_fact/methods_spec.rb +19 -19
  34. data/spec/lib/dbd/provenance_fact/new_spec.rb +17 -17
  35. data/spec/lib/dbd/provenance_fact/test_factories_spec.rb +24 -0
  36. data/spec/lib/dbd/provenance_resource/provenance_resource_spec.rb +24 -24
  37. data/spec/lib/dbd/rdf_base/rdf_base_spec.rb +7 -7
  38. data/spec/lib/dbd/resource/collection_spec.rb +34 -34
  39. data/spec/lib/dbd/resource/new_spec.rb +12 -12
  40. data/spec/lib/dbd/resource/test_factories_spec.rb +25 -0
  41. data/spec/lib/dbd/time_stamp/comparisons_spec.rb +31 -30
  42. data/spec/lib/dbd/time_stamp/methods_spec.rb +17 -13
  43. data/spec/lib/dbd/time_stamp/new_spec.rb +40 -14
  44. data/spec/lib/dbd/time_stamp/test_factories_spec.rb +18 -0
  45. data/spec/spec_helper.rb +2 -6
  46. data/spec/{factories → test_factories}/fact.rb +32 -25
  47. data/spec/{factories → test_factories}/fact/id.rb +2 -2
  48. data/spec/{factories → test_factories}/fact/subject.rb +3 -3
  49. data/spec/test_factories/graph.rb +25 -0
  50. data/spec/{factories → test_factories}/provenance_fact.rb +8 -10
  51. data/spec/{factories → test_factories}/provenance_resource.rb +3 -3
  52. data/spec/{factories → test_factories}/resource.rb +10 -4
  53. data/spec/{factories → test_factories}/time_stamp.rb +2 -2
  54. metadata +35 -32
  55. data/spec/factories/graph.rb +0 -23
  56. data/spec/lib/dbd/fact/factory_spec.rb +0 -82
  57. data/spec/lib/dbd/fact/id/factory_spec.rb +0 -16
  58. data/spec/lib/dbd/fact/subject/factory_spec.rb +0 -25
  59. data/spec/lib/dbd/graph/factory_spec.rb +0 -33
  60. data/spec/lib/dbd/provenance_fact/factory_spec.rb +0 -24
  61. data/spec/lib/dbd/resource/factory_spec.rb +0 -18
  62. data/spec/lib/dbd/time_stamp/factory_spec.rb +0 -18
@@ -0,0 +1,18 @@
1
+ require 'spec_helper'
2
+
3
+ module TestFactories
4
+ describe TimeStamp do
5
+
6
+ let(:fixed_time_stamp) { described_class.fixed_time_stamp }
7
+
8
+ describe 'factory works' do
9
+ it 'is a TimeStamp' do
10
+ fixed_time_stamp.should be_a(described_class.factory_for)
11
+ end
12
+
13
+ it 'has an exact time' do
14
+ fixed_time_stamp.to_s.should == '2013-06-17 21:55:09.967653013 UTC'
15
+ end
16
+ end
17
+ end
18
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,16 +1,12 @@
1
1
  require 'dbd'
2
2
 
3
- # load all factories
3
+ # load all test_factories
4
4
  root = File.expand_path('../', __FILE__)
5
- Dir[root + "/factories/**/*.rb"].each {|f| require f}
5
+ Dir[root + '/test_factories/**/*.rb'].each {|f| require f}
6
6
 
7
7
  RSpec.configure do |config|
8
8
  config.treat_symbols_as_metadata_keys_with_true_values = true
9
9
 
10
- # Run specs in random order to surface order dependencies. If you find an
11
- # order dependency and want to debug it, you can fix the order by providing
12
- # the seed, which is printed after each run.
13
- # --seed 1234
14
10
  config.order = 'random'
15
11
 
16
12
  # exclude neo4j tests for now (not working on Travis)
@@ -1,95 +1,102 @@
1
1
  # encoding=utf-8
2
- module Factories
2
+ module TestFactories
3
3
  module Fact
4
-
5
4
  def self.factory_for
6
5
  ::Dbd::Fact
7
6
  end
8
7
 
9
8
  def self.new_subject
10
- factory_for.new_subject
9
+ factory_for.factory.new_subject
10
+ end
11
+
12
+ def self.string_values
13
+ ['825e44d5-af33-4858-8047-549bd813daa8',
14
+ '2013-06-17 21:55:09.967653013 UTC',
15
+ '40fab407-9b04-4a51-9a52-d978abfcbb1f',
16
+ '2e9fbc87-2e94-47e9-a8fd-121cc4bc3e8f',
17
+ 'http://example.org/test/name',
18
+ 'Gandhi']
11
19
  end
12
20
 
13
21
  def self.fact_1(provenance_subject = nil)
14
22
  factory_for.new(
15
23
  provenance_subject: provenance_subject,
16
- predicate: "http://example.org/test/name",
17
- object: "Gandhi")
24
+ predicate: 'http://example.org/test/name',
25
+ object: 'Gandhi')
18
26
  end
19
27
 
20
28
  def self.fact_with_forced_id(forced_id)
21
29
  factory_for.new(
22
30
  id: forced_id,
23
- predicate: "http://example.org/test/name",
24
- object: "Gandhi")
31
+ predicate: 'http://example.org/test/name',
32
+ object: 'Gandhi')
25
33
  end
26
34
 
27
35
  def self.fact_with_special_chars(provenance_subject = nil, subject = nil)
28
36
  factory_for.new(
29
37
  provenance_subject: provenance_subject,
30
38
  subject: subject,
31
- predicate: "http://example.org/test/comment",
32
- object: "A long story\nreally with a comma, a double quote \" and a non-ASCII char éà Über.")
39
+ predicate: 'http://example.org/test/comment',
40
+ object: "A long story with a newline\nreally with a comma, a double quote \" and a non-ASCII char éà Über.")
33
41
  end
34
42
 
35
43
  def self.fact_with_time_stamp(time_stamp)
36
44
  factory_for.new(
37
45
  time_stamp: time_stamp,
38
- predicate: "http://example.org/test/name",
39
- object: "Gandhi")
46
+ predicate: 'http://example.org/test/name',
47
+ object: 'Gandhi')
40
48
  end
41
49
 
42
50
  def self.fact_2_with_subject(provenance_subject = nil)
43
51
  factory_for.new(
44
52
  provenance_subject: provenance_subject,
45
53
  subject: new_subject,
46
- predicate: "http://example.org/test/name",
47
- object: "Mandela")
54
+ predicate: 'http://example.org/test/name',
55
+ object: 'Mandela')
48
56
  end
49
57
 
50
58
  def self.fact_3_with_subject(provenance_subject = nil)
51
59
  factory_for.new(
52
60
  provenance_subject: provenance_subject,
53
61
  subject: new_subject,
54
- predicate: "http://example.org/test/name",
55
- object: "King")
62
+ predicate: 'http://example.org/test/name',
63
+ object: 'King')
56
64
  end
57
65
 
58
66
  def self.data_fact(provenance_subject = nil, subject = nil)
59
67
  factory_for.new(
60
68
  provenance_subject: provenance_subject,
61
69
  subject: subject,
62
- predicate: "http://example.org/test/name",
63
- object: "Aung San Suu Kyi")
70
+ predicate: 'http://example.org/test/name',
71
+ object: 'Aung San Suu Kyi')
64
72
  end
65
73
 
66
74
  def self.data_fact_EU(provenance_subject = nil, subject = nil)
67
75
  factory_for.new(
68
76
  provenance_subject: provenance_subject,
69
77
  subject: subject,
70
- predicate: "http://example.org/test/name",
71
- object: "European Union")
78
+ predicate: 'http://example.org/test/name',
79
+ object: 'European Union')
72
80
  end
73
81
 
74
82
  def self.fact_with_newline(provenance_subject = nil, subject = nil)
75
83
  factory_for.new(
76
84
  provenance_subject: provenance_subject,
77
85
  subject: subject,
78
- predicate: "http://example.org/test/comment",
86
+ predicate: 'http://example.org/test/comment',
79
87
  object: "A long story\nreally.")
80
88
  end
81
89
 
82
90
  def self.full_fact
83
- fixed_id = Factories::Fact::ID.fixed_id
91
+ fixed_id = TestFactories::Fact::ID.fixed_id
84
92
  fact_with_forced_id(fixed_id).tap do |fact|
85
- fact.time_stamp = Factories::TimeStamp.fixed_time_stamp
86
- fact.subject = Factories::Fact::Subject.fixed_subject
87
- fact.provenance_subject = Factories::Fact::Subject.fixed_provenance_subject
93
+ fact.time_stamp = TestFactories::TimeStamp.fixed_time_stamp
94
+ fact.subject = TestFactories::Fact::Subject.fixed_subject
95
+ fact.provenance_subject = TestFactories::Fact::Subject.fixed_provenance_subject
88
96
  end
89
97
  end
90
98
 
91
99
  module Collection
92
-
93
100
  def self.factory_for_instance
94
101
  o = Object.new
95
102
  o.extend(::Dbd::Fact::Collection)
@@ -1,8 +1,8 @@
1
- module Factories
1
+ module TestFactories
2
2
  module Fact
3
3
  module ID
4
4
  def self.fixed_id
5
- "825e44d5-af33-4858-8047-549bd813daa8"
5
+ '825e44d5-af33-4858-8047-549bd813daa8'
6
6
  end
7
7
  end
8
8
  end
@@ -1,12 +1,12 @@
1
- module Factories
1
+ module TestFactories
2
2
  module Fact
3
3
  module Subject
4
4
  def self.fixed_subject
5
- "2e9fbc87-2e94-47e9-a8fd-121cc4bc3e8f"
5
+ '2e9fbc87-2e94-47e9-a8fd-121cc4bc3e8f'
6
6
  end
7
7
 
8
8
  def self.fixed_provenance_subject
9
- "40fab407-9b04-4a51-9a52-d978abfcbb1f"
9
+ '40fab407-9b04-4a51-9a52-d978abfcbb1f'
10
10
  end
11
11
  end
12
12
  end
@@ -0,0 +1,25 @@
1
+ module TestFactories
2
+ module Graph
3
+ def self.factory_for
4
+ ::Dbd::Graph
5
+ end
6
+
7
+ def self.new_subject
8
+ ::Dbd::Fact.factory.new_subject
9
+ end
10
+
11
+ def self.only_provenance
12
+ factory_for.new << TestFactories::ProvenanceResource.provenance_resource
13
+ end
14
+
15
+ def self.only_facts(provenance_subject = new_subject)
16
+ factory_for.new << TestFactories::Resource.facts_resource(provenance_subject)
17
+ end
18
+
19
+ def self.full
20
+ provenance_resource = TestFactories::ProvenanceResource.provenance_resource
21
+ resource = TestFactories::Resource.facts_resource(provenance_resource.subject)
22
+ factory_for.new << provenance_resource << resource
23
+ end
24
+ end
25
+ end
@@ -1,42 +1,40 @@
1
1
  # encoding=utf-8
2
- module Factories
2
+ module TestFactories
3
3
  module ProvenanceFact
4
-
5
4
  def self.factory_for
6
5
  ::Dbd::ProvenanceFact
7
6
  end
8
7
 
9
8
  def self.new_subject
10
- factory_for.new_subject
9
+ factory_for.factory.new_subject
11
10
  end
12
11
 
13
12
  def self.context(subject = nil)
14
13
  factory_for.new(
15
14
  subject: subject,
16
- predicate: "https://data.vandenabeele.com/ontologies/provenance#context",
17
- object: "public")
15
+ predicate: 'https://data.vandenabeele.com/ontologies/provenance#context',
16
+ object: 'public')
18
17
  end
19
18
 
20
19
  def self.created_by(subject = nil)
21
20
  factory_for.new(
22
21
  subject: subject,
23
- predicate: "https://data.vandenabeele.com/ontologies/provenance#created_by",
24
- object: "peter_v")
22
+ predicate: 'https://data.vandenabeele.com/ontologies/provenance#created_by',
23
+ object: 'peter_v')
25
24
  end
26
25
 
27
26
  def self.original_source(subject = nil)
28
27
  factory_for.new(
29
28
  subject: subject,
30
- predicate: "https://data.vandenabeele.com/ontologies/provenance#original_source",
29
+ predicate: 'https://data.vandenabeele.com/ontologies/provenance#original_source',
31
30
  object: "this has a comma , a newline \n and a double quote \"")
32
31
  end
33
32
 
34
33
  def self.created(subject = nil)
35
34
  factory_for.new(
36
35
  subject: subject,
37
- predicate: "dcterms:created",
36
+ predicate: 'dcterms:created',
38
37
  object: Time.now.utc)
39
38
  end
40
-
41
39
  end
42
40
  end
@@ -1,4 +1,4 @@
1
- module Factories
1
+ module TestFactories
2
2
  module ProvenanceResource
3
3
 
4
4
  def self.factory_for
@@ -7,8 +7,8 @@ module Factories
7
7
 
8
8
  def self.provenance_resource
9
9
  factory_for.new.tap do |provenance_resource|
10
- provenance_resource << Factories::ProvenanceFact.context
11
- provenance_resource << Factories::ProvenanceFact.created_by
10
+ provenance_resource << TestFactories::ProvenanceFact.context
11
+ provenance_resource << TestFactories::ProvenanceFact.created_by
12
12
  end
13
13
  end
14
14
 
@@ -1,4 +1,4 @@
1
- module Factories
1
+ module TestFactories
2
2
  module Resource
3
3
 
4
4
  def self.factory_for
@@ -10,13 +10,19 @@ module Factories
10
10
  factory_for.new(subject: subject, provenance_subject: provenance_subject)
11
11
  end
12
12
 
13
- def self.facts_resource(provenance_subject)
13
+ def self.facts_resource(provenance_subject = provenance_subject())
14
14
  subject = Fact.new_subject
15
15
  factory_for.new(subject: subject, provenance_subject: provenance_subject).tap do |resource|
16
- resource << Factories::Fact.data_fact(provenance_subject, subject)
17
- resource << Factories::Fact.data_fact_EU(provenance_subject, subject)
16
+ resource << TestFactories::Fact.data_fact(provenance_subject, subject)
17
+ resource << TestFactories::Fact.data_fact_EU(provenance_subject, subject)
18
18
  end
19
19
  end
20
20
 
21
+ private
22
+
23
+ def self.provenance_subject
24
+ TestFactories::ProvenanceResource.provenance_resource.subject
25
+ end
26
+
21
27
  end
22
28
  end
@@ -1,4 +1,4 @@
1
- module Factories
1
+ module TestFactories
2
2
  module TimeStamp
3
3
 
4
4
  def self.factory_for
@@ -6,7 +6,7 @@ module Factories
6
6
  end
7
7
 
8
8
  def self.fixed_time_string
9
- "2013-06-17 21:55:09.967653013 UTC"
9
+ '2013-06-17 21:55:09.967653013 UTC'
10
10
  end
11
11
 
12
12
  def self.fixed_time_stamp
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.9
4
+ version: 0.0.10
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-06-30 00:00:00.000000000 Z
11
+ date: 2013-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -184,6 +184,7 @@ files:
184
184
  - lib/dbd/errors.rb
185
185
  - lib/dbd/fact.rb
186
186
  - lib/dbd/fact/collection.rb
187
+ - lib/dbd/fact/factory.rb
187
188
  - lib/dbd/fact/id.rb
188
189
  - lib/dbd/fact/subject.rb
189
190
  - lib/dbd/graph.rb
@@ -198,44 +199,45 @@ files:
198
199
  - lib/dbd/resource.rb
199
200
  - lib/dbd/time_stamp.rb
200
201
  - lib/dbd/version.rb
201
- - spec/factories/fact.rb
202
- - spec/factories/fact/id.rb
203
- - spec/factories/fact/subject.rb
204
- - spec/factories/graph.rb
205
- - spec/factories/provenance_fact.rb
206
- - spec/factories/provenance_resource.rb
207
- - spec/factories/resource.rb
208
- - spec/factories/time_stamp.rb
209
202
  - spec/lib/dbd/fact/collection/collection_spec.rb
210
- - spec/lib/dbd/fact/factory_spec.rb
211
- - spec/lib/dbd/fact/id/factory_spec.rb
203
+ - spec/lib/dbd/fact/factory/factory_spec.rb
212
204
  - spec/lib/dbd/fact/id/id_spec.rb
205
+ - spec/lib/dbd/fact/id/test_factories_spec.rb
213
206
  - spec/lib/dbd/fact/methods_spec.rb
214
207
  - spec/lib/dbd/fact/new_spec.rb
215
- - spec/lib/dbd/fact/subject/factory_spec.rb
216
208
  - spec/lib/dbd/fact/subject/subject_spec.rb
209
+ - spec/lib/dbd/fact/subject/test_factories_spec.rb
210
+ - spec/lib/dbd/fact/test_factories_spec.rb
217
211
  - spec/lib/dbd/graph/add_to_graph_spec.rb
218
- - spec/lib/dbd/graph/factory_spec.rb
219
212
  - spec/lib/dbd/graph/from_csv_spec.rb
213
+ - spec/lib/dbd/graph/test_factories_spec.rb
220
214
  - spec/lib/dbd/graph/to_csv_spec.rb
221
215
  - spec/lib/dbd/helpers/ordered_set_collection/ordered_set_collection_spec.rb
222
216
  - spec/lib/dbd/helpers/uuid/uuid_spec.rb
223
217
  - spec/lib/dbd/performance_spec.rb
224
- - spec/lib/dbd/provenance_fact/factory_spec.rb
225
218
  - spec/lib/dbd/provenance_fact/methods_spec.rb
226
219
  - spec/lib/dbd/provenance_fact/new_spec.rb
220
+ - spec/lib/dbd/provenance_fact/test_factories_spec.rb
227
221
  - spec/lib/dbd/provenance_resource/provenance_resource_spec.rb
228
222
  - spec/lib/dbd/rdf_base/rdf_base_spec.rb
229
223
  - spec/lib/dbd/repo/neo4j_repo/base_spec.rb
230
224
  - spec/lib/dbd/repo/neo4j_repo/performance_spec.rb
231
225
  - spec/lib/dbd/resource/collection_spec.rb
232
- - spec/lib/dbd/resource/factory_spec.rb
233
226
  - spec/lib/dbd/resource/new_spec.rb
227
+ - spec/lib/dbd/resource/test_factories_spec.rb
234
228
  - spec/lib/dbd/time_stamp/comparisons_spec.rb
235
- - spec/lib/dbd/time_stamp/factory_spec.rb
236
229
  - spec/lib/dbd/time_stamp/methods_spec.rb
237
230
  - spec/lib/dbd/time_stamp/new_spec.rb
231
+ - spec/lib/dbd/time_stamp/test_factories_spec.rb
238
232
  - spec/spec_helper.rb
233
+ - spec/test_factories/fact.rb
234
+ - spec/test_factories/fact/id.rb
235
+ - spec/test_factories/fact/subject.rb
236
+ - spec/test_factories/graph.rb
237
+ - spec/test_factories/provenance_fact.rb
238
+ - spec/test_factories/provenance_resource.rb
239
+ - spec/test_factories/resource.rb
240
+ - spec/test_factories/time_stamp.rb
239
241
  homepage: ''
240
242
  licenses:
241
243
  - MIT
@@ -261,42 +263,43 @@ signing_key:
261
263
  specification_version: 4
262
264
  summary: A data store that (almost) never forgets
263
265
  test_files:
264
- - spec/factories/fact.rb
265
- - spec/factories/fact/id.rb
266
- - spec/factories/fact/subject.rb
267
- - spec/factories/graph.rb
268
- - spec/factories/provenance_fact.rb
269
- - spec/factories/provenance_resource.rb
270
- - spec/factories/resource.rb
271
- - spec/factories/time_stamp.rb
272
266
  - spec/lib/dbd/fact/collection/collection_spec.rb
273
- - spec/lib/dbd/fact/factory_spec.rb
274
- - spec/lib/dbd/fact/id/factory_spec.rb
267
+ - spec/lib/dbd/fact/factory/factory_spec.rb
275
268
  - spec/lib/dbd/fact/id/id_spec.rb
269
+ - spec/lib/dbd/fact/id/test_factories_spec.rb
276
270
  - spec/lib/dbd/fact/methods_spec.rb
277
271
  - spec/lib/dbd/fact/new_spec.rb
278
- - spec/lib/dbd/fact/subject/factory_spec.rb
279
272
  - spec/lib/dbd/fact/subject/subject_spec.rb
273
+ - spec/lib/dbd/fact/subject/test_factories_spec.rb
274
+ - spec/lib/dbd/fact/test_factories_spec.rb
280
275
  - spec/lib/dbd/graph/add_to_graph_spec.rb
281
- - spec/lib/dbd/graph/factory_spec.rb
282
276
  - spec/lib/dbd/graph/from_csv_spec.rb
277
+ - spec/lib/dbd/graph/test_factories_spec.rb
283
278
  - spec/lib/dbd/graph/to_csv_spec.rb
284
279
  - spec/lib/dbd/helpers/ordered_set_collection/ordered_set_collection_spec.rb
285
280
  - spec/lib/dbd/helpers/uuid/uuid_spec.rb
286
281
  - spec/lib/dbd/performance_spec.rb
287
- - spec/lib/dbd/provenance_fact/factory_spec.rb
288
282
  - spec/lib/dbd/provenance_fact/methods_spec.rb
289
283
  - spec/lib/dbd/provenance_fact/new_spec.rb
284
+ - spec/lib/dbd/provenance_fact/test_factories_spec.rb
290
285
  - spec/lib/dbd/provenance_resource/provenance_resource_spec.rb
291
286
  - spec/lib/dbd/rdf_base/rdf_base_spec.rb
292
287
  - spec/lib/dbd/repo/neo4j_repo/base_spec.rb
293
288
  - spec/lib/dbd/repo/neo4j_repo/performance_spec.rb
294
289
  - spec/lib/dbd/resource/collection_spec.rb
295
- - spec/lib/dbd/resource/factory_spec.rb
296
290
  - spec/lib/dbd/resource/new_spec.rb
291
+ - spec/lib/dbd/resource/test_factories_spec.rb
297
292
  - spec/lib/dbd/time_stamp/comparisons_spec.rb
298
- - spec/lib/dbd/time_stamp/factory_spec.rb
299
293
  - spec/lib/dbd/time_stamp/methods_spec.rb
300
294
  - spec/lib/dbd/time_stamp/new_spec.rb
295
+ - spec/lib/dbd/time_stamp/test_factories_spec.rb
301
296
  - spec/spec_helper.rb
297
+ - spec/test_factories/fact.rb
298
+ - spec/test_factories/fact/id.rb
299
+ - spec/test_factories/fact/subject.rb
300
+ - spec/test_factories/graph.rb
301
+ - spec/test_factories/provenance_fact.rb
302
+ - spec/test_factories/provenance_resource.rb
303
+ - spec/test_factories/resource.rb
304
+ - spec/test_factories/time_stamp.rb
302
305
  has_rdoc: