pdqtest 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44635cb948619afb55088e69d13357bfedfd6356
4
- data.tar.gz: 3227b823689242cf52b81032c82b89fa082faafe
3
+ metadata.gz: 6448164754e59c9c137aa235b832c2d72d68b200
4
+ data.tar.gz: b1726a559c5576d2bceea2aff0e3d1a273f669a8
5
5
  SHA512:
6
- metadata.gz: 76fd8330fa4c933fe65e168cc743d53f25df7bd1a23cec9925ca71c860cf79f5b560ccecfd13efcbd91a200e9dbb6f14d5bacd5d2e746f9619859ea90922a685
7
- data.tar.gz: b77b4df8c8d5c3b87680fc851d37c29b5e8ab931c6b9dd1512ce8a56198d4d11b60ade04a5e65ab90f20f9039661250ebdfc2bee6c9b528c88fe740f6929d6cd
6
+ metadata.gz: 9ea65e1965ced971fb56144985b50b7a1844e9d06c2bfed79c43a784607f26d3c1731251469ae81209e1754a3eed87dff9294437dd144ec5839a790f132adb04
7
+ data.tar.gz: 900b0d411880af43be39f8045d267fd4de2cb54e3acc369bbf03dd9eea490643b3f008b10d075005fe792875ffbe35c2a3539f259a1b09926ee1579202e1264b
data/README.md CHANGED
@@ -67,6 +67,15 @@ repositories:
67
67
  * The file format of `.fixtures.yml` and `fixtures.yml` for specifing git repositories is identical
68
68
  * Only the repositories section of the file will be processed as we do not use `puppetlabs_spec_helper` to do this for us.
69
69
 
70
+ ## Merging additional facts
71
+ PDQTest includes built-in [factsets](https://github.com/declarativesystems/puppet_factset) covering many common operating systems, however, sometimes additional facts are needed throughout a module to mock an external fact or custom fact from a different module that is expected to be some known value. In this case, creating the directory:
72
+
73
+ ```
74
+ spec/merge_facts
75
+ ```
76
+
77
+ Inside the module being tested will result in all JSON files contained being merged into all OS specific factsets used for testing as generated by `pdqtest generate_rspec`. To put it simply, drop `.json` file(s) in this directory to add them to every factset.
78
+
70
79
  ### All tests
71
80
  If you just want to run all tests:
72
81
 
@@ -1,3 +1,3 @@
1
1
  module PDQTest
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
data/pdqtest.gemspec CHANGED
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.add_runtime_dependency "puppetlabs_spec_helper", "1.2.2"
37
37
  spec.add_runtime_dependency "librarian-puppet", "2.2.3"
38
38
  spec.add_runtime_dependency "git_refresh", "0.1.1"
39
- spec.add_runtime_dependency "puppet_factset", "0.4.0"
39
+ spec.add_runtime_dependency "puppet_factset", "0.4.1"
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdqtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Williams
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - '='
200
200
  - !ruby/object:Gem::Version
201
- version: 0.4.0
201
+ version: 0.4.1
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
- version: 0.4.0
208
+ version: 0.4.1
209
209
  description: write one...
210
210
  email:
211
211
  - geoff.williams@puppetlabs.com