pact-mock_service 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +29 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +8 -0
  5. data/CHANGELOG.md +4 -0
  6. data/Gemfile +8 -0
  7. data/Gemfile.lock +100 -0
  8. data/LICENSE.txt +22 -0
  9. data/README.md +314 -0
  10. data/Rakefile +6 -0
  11. data/bin/pact-mock-service +3 -0
  12. data/lib/pact/consumer/app_manager.rb +159 -0
  13. data/lib/pact/consumer/interactions_filter.rb +48 -0
  14. data/lib/pact/consumer/mock_service/app.rb +84 -0
  15. data/lib/pact/consumer/mock_service/interaction_delete.rb +33 -0
  16. data/lib/pact/consumer/mock_service/interaction_list.rb +76 -0
  17. data/lib/pact/consumer/mock_service/interaction_mismatch.rb +73 -0
  18. data/lib/pact/consumer/mock_service/interaction_post.rb +31 -0
  19. data/lib/pact/consumer/mock_service/interaction_replay.rb +139 -0
  20. data/lib/pact/consumer/mock_service/log_get.rb +28 -0
  21. data/lib/pact/consumer/mock_service/missing_interactions_get.rb +30 -0
  22. data/lib/pact/consumer/mock_service/mock_service_administration_endpoint.rb +31 -0
  23. data/lib/pact/consumer/mock_service/pact_post.rb +33 -0
  24. data/lib/pact/consumer/mock_service/rack_request_helper.rb +51 -0
  25. data/lib/pact/consumer/mock_service/verification_get.rb +68 -0
  26. data/lib/pact/consumer/mock_service.rb +2 -0
  27. data/lib/pact/consumer/mock_service_client.rb +65 -0
  28. data/lib/pact/consumer/mock_service_interaction_expectation.rb +37 -0
  29. data/lib/pact/consumer/request.rb +27 -0
  30. data/lib/pact/consumer/server.rb +90 -0
  31. data/lib/pact/consumer_contract/consumer_contract_writer.rb +84 -0
  32. data/lib/pact/mock_service/cli.rb +49 -0
  33. data/lib/pact/mock_service/version.rb +5 -0
  34. data/lib/pact/mock_service.rb +1 -0
  35. data/pact-mock-service.gemspec +41 -0
  36. data/spec/lib/pact/consumer/app_manager_spec.rb +42 -0
  37. data/spec/lib/pact/consumer/mock_service/app_spec.rb +52 -0
  38. data/spec/lib/pact/consumer/mock_service/interaction_list_spec.rb +78 -0
  39. data/spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb +70 -0
  40. data/spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb +12 -0
  41. data/spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb +88 -0
  42. data/spec/lib/pact/consumer/mock_service/verification_get_spec.rb +142 -0
  43. data/spec/lib/pact/consumer/mock_service_client_spec.rb +88 -0
  44. data/spec/lib/pact/consumer/mock_service_interaction_expectation_spec.rb +54 -0
  45. data/spec/lib/pact/consumer/service_consumer_spec.rb +11 -0
  46. data/spec/lib/pact/consumer_contract/consumer_contract_writer_spec.rb +111 -0
  47. data/spec/spec_helper.rb +16 -0
  48. data/spec/support/a_consumer-a_producer.json +32 -0
  49. data/spec/support/a_consumer-a_provider.json +32 -0
  50. data/spec/support/active_support_if_configured.rb +6 -0
  51. data/spec/support/app_for_config_ru.rb +4 -0
  52. data/spec/support/case-insensitive-response-header-matching.json +21 -0
  53. data/spec/support/case-insensitive-response-header-matching.rb +15 -0
  54. data/spec/support/consumer_contract_template.json +24 -0
  55. data/spec/support/dsl_spec_support.rb +7 -0
  56. data/spec/support/factories.rb +82 -0
  57. data/spec/support/generated_index.md +4 -0
  58. data/spec/support/generated_markdown.md +55 -0
  59. data/spec/support/interaction_view_model.json +63 -0
  60. data/spec/support/interaction_view_model_with_terms.json +50 -0
  61. data/spec/support/markdown_pact.json +48 -0
  62. data/spec/support/missing_provider_states_output.txt +25 -0
  63. data/spec/support/options.json +21 -0
  64. data/spec/support/options_app.rb +15 -0
  65. data/spec/support/pact_helper.rb +57 -0
  66. data/spec/support/shared_examples_for_request.rb +94 -0
  67. data/spec/support/spec_support.rb +20 -0
  68. data/spec/support/stubbing.json +22 -0
  69. data/spec/support/stubbing_using_allow.rb +29 -0
  70. data/spec/support/term.json +48 -0
  71. data/spec/support/test_app_fail.json +61 -0
  72. data/spec/support/test_app_pass.json +38 -0
  73. data/spec/support/test_app_with_right_content_type_differ.json +23 -0
  74. data/tasks/spec.rake +6 -0
  75. metadata +388 -0
@@ -0,0 +1,48 @@
1
+ {
2
+ "consumer": {
3
+ "name": "some-test-consumer"
4
+ },
5
+ "provider": {
6
+ "name": "an unknown provider"
7
+ },
8
+ "interactions": [
9
+ {
10
+ "description": "a test request",
11
+ "request": {
12
+ "method": "get",
13
+ "path": "/weather",
14
+ "query": ""
15
+ },
16
+ "response": {
17
+ "status": 200,
18
+ "headers" : {
19
+ "Content-type": {
20
+ "json_class": "Pact::Term",
21
+ "data": {
22
+ "generate": "text/plain",
23
+ "matcher": {
24
+ "json_class": "Regexp",
25
+ "o": 0,
26
+ "s": "text"
27
+ }
28
+ }
29
+ }
30
+ },
31
+ "body": {
32
+ "message" : {
33
+ "json_class": "Pact::Term",
34
+ "data": {
35
+ "generate": "rainy",
36
+ "matcher": {
37
+ "json_class": "Regexp",
38
+ "o": 0,
39
+ "s": "rain"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "provider_state": "the weather is sunny"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "consumer": {
3
+ "name": "an unknown consumer"
4
+ },
5
+ "provider": {
6
+ "name": "an unknown provider"
7
+ },
8
+ "interactions": [
9
+ {
10
+ "description": "a test request",
11
+ "request": {
12
+ "method": "get",
13
+ "path": "/weather",
14
+ "query": ""
15
+ },
16
+ "response": {
17
+ "status": 200,
18
+ "headers" : {"Content-type": "application/json"},
19
+ "body": {"message" : "this is not the weather you are looking for", "array": [{"foo": "bar"}], "somethingElse" : {"blah" : {"nested" : "that is missing"} }}
20
+
21
+ },
22
+ "provider_state": "the weather is cloudy"
23
+ },{
24
+ "description": "another test request",
25
+ "request": {
26
+ "method": "get",
27
+ "path": "/weather",
28
+ "query": ""
29
+ },
30
+ "response": {
31
+ "status": 200,
32
+ "headers" : {
33
+ "Content-type": {
34
+ "json_class": "Pact::Term",
35
+ "data": {
36
+ "generate": "application/hal+json",
37
+ "matcher": {"json_class":"Regexp","o":0,"s":"hal"}
38
+ }
39
+ },
40
+ "X-Special-Header": "something"
41
+ },
42
+ "body": {"message" : "this is not the weather you are looking for"}
43
+
44
+ }
45
+ },{
46
+ "description": "another test request",
47
+ "provider_state": "a missing provider state",
48
+ "request": {
49
+ "method": "get",
50
+ "path": "/weather",
51
+ "query": ""
52
+ },
53
+ "response": {
54
+ "status": 200,
55
+ "headers" : {"Content-type": "application/json"},
56
+ "body": {"message" : "this is not the weather you are looking for"}
57
+
58
+ }
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "consumer": {
3
+ "name": "some-test-consumer"
4
+ },
5
+ "provider": {
6
+ "name": "an unknown provider"
7
+ },
8
+ "interactions": [
9
+ {
10
+ "description": "a test request",
11
+ "request": {
12
+ "method": "get",
13
+ "path": "/weather",
14
+ "query": ""
15
+ },
16
+ "response": {
17
+ "status": 200,
18
+ "headers" : {"Content-type": "application/json"},
19
+ "body": {"message" : "sunny"}
20
+ },
21
+ "provider_state": "the weather is sunny"
22
+ },
23
+ {
24
+ "description": "a test request for text",
25
+ "request": {
26
+ "method": "get",
27
+ "path": "/sometext",
28
+ "query": "",
29
+ "body" : "some request text"
30
+ },
31
+ "response": {
32
+ "status": 200,
33
+ "headers" : {"Content-type": "text/plain"},
34
+ "body": "some text"
35
+ }
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "consumer": {
3
+ "name": "some-test-consumer"
4
+ },
5
+ "provider": {
6
+ "name": "the test app in the pact_helper file"
7
+ },
8
+ "interactions": [
9
+ {
10
+ "description": "a test request expecting an application/json response",
11
+ "request": {
12
+ "method": "get",
13
+ "path": "/content_type_is_important",
14
+ "query": ""
15
+ },
16
+ "response": {
17
+ "status": 200,
18
+ "headers" : {"Content-type": "application/json"},
19
+ "body": {"message" : "A message"}
20
+ }
21
+ }
22
+ ]
23
+ }
data/tasks/spec.rake ADDED
@@ -0,0 +1,6 @@
1
+ require 'rspec/core/rake_task'
2
+
3
+ RSpec::Core::RakeTask.new(:spec)
4
+
5
+ task :default => [:spec]
6
+
metadata ADDED
@@ -0,0 +1,388 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pact-mock_service
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - James Fraser
8
+ - Sergei Matheson
9
+ - Brent Snook
10
+ - Ronald Holshausen
11
+ - Beth Skurrie
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2014-10-12 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: rack
19
+ requirement: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: rspec
33
+ requirement: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '2.14'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '2.14'
45
+ - !ruby/object:Gem::Dependency
46
+ name: find_a_port
47
+ requirement: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: 1.0.1
52
+ type: :runtime
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: 1.0.1
59
+ - !ruby/object:Gem::Dependency
60
+ name: rack-test
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 0.6.2
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ version: 0.6.2
73
+ - !ruby/object:Gem::Dependency
74
+ name: awesome_print
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '1.1'
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: '1.1'
87
+ - !ruby/object:Gem::Dependency
88
+ name: thor
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ type: :runtime
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ - !ruby/object:Gem::Dependency
102
+ name: json
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ type: :runtime
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ! '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ - !ruby/object:Gem::Dependency
116
+ name: webrick
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ type: :runtime
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ - !ruby/object:Gem::Dependency
130
+ name: term-ansicolor
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ~>
134
+ - !ruby/object:Gem::Version
135
+ version: '1.0'
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: '1.0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: rake
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: 10.0.3
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ~>
155
+ - !ruby/object:Gem::Version
156
+ version: 10.0.3
157
+ - !ruby/object:Gem::Dependency
158
+ name: webmock
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ~>
162
+ - !ruby/object:Gem::Version
163
+ version: 1.18.0
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ~>
169
+ - !ruby/object:Gem::Version
170
+ version: 1.18.0
171
+ - !ruby/object:Gem::Dependency
172
+ name: pry
173
+ requirement: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ! '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ type: :development
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ! '>='
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ - !ruby/object:Gem::Dependency
186
+ name: fakefs
187
+ requirement: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ~>
190
+ - !ruby/object:Gem::Version
191
+ version: '0.4'
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ~>
197
+ - !ruby/object:Gem::Version
198
+ version: '0.4'
199
+ - !ruby/object:Gem::Dependency
200
+ name: hashie
201
+ requirement: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ~>
204
+ - !ruby/object:Gem::Version
205
+ version: '2.0'
206
+ type: :development
207
+ prerelease: false
208
+ version_requirements: !ruby/object:Gem::Requirement
209
+ requirements:
210
+ - - ~>
211
+ - !ruby/object:Gem::Version
212
+ version: '2.0'
213
+ - !ruby/object:Gem::Dependency
214
+ name: activesupport
215
+ requirement: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ type: :development
221
+ prerelease: false
222
+ version_requirements: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - ! '>='
225
+ - !ruby/object:Gem::Version
226
+ version: '0'
227
+ - !ruby/object:Gem::Dependency
228
+ name: faraday
229
+ requirement: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ! '>='
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ type: :development
235
+ prerelease: false
236
+ version_requirements: !ruby/object:Gem::Requirement
237
+ requirements:
238
+ - - ! '>='
239
+ - !ruby/object:Gem::Version
240
+ version: '0'
241
+ description:
242
+ email:
243
+ - james.fraser@alumni.swinburne.edu
244
+ - sergei.matheson@gmail.com
245
+ - brent@fuglylogic.com
246
+ - uglyog@gmail.com
247
+ - bskurrie@dius.com.au
248
+ executables:
249
+ - pact-mock-service
250
+ extensions: []
251
+ extra_rdoc_files: []
252
+ files:
253
+ - .gitignore
254
+ - .rspec
255
+ - .travis.yml
256
+ - CHANGELOG.md
257
+ - Gemfile
258
+ - Gemfile.lock
259
+ - LICENSE.txt
260
+ - README.md
261
+ - Rakefile
262
+ - bin/pact-mock-service
263
+ - lib/pact/consumer/app_manager.rb
264
+ - lib/pact/consumer/interactions_filter.rb
265
+ - lib/pact/consumer/mock_service.rb
266
+ - lib/pact/consumer/mock_service/app.rb
267
+ - lib/pact/consumer/mock_service/interaction_delete.rb
268
+ - lib/pact/consumer/mock_service/interaction_list.rb
269
+ - lib/pact/consumer/mock_service/interaction_mismatch.rb
270
+ - lib/pact/consumer/mock_service/interaction_post.rb
271
+ - lib/pact/consumer/mock_service/interaction_replay.rb
272
+ - lib/pact/consumer/mock_service/log_get.rb
273
+ - lib/pact/consumer/mock_service/missing_interactions_get.rb
274
+ - lib/pact/consumer/mock_service/mock_service_administration_endpoint.rb
275
+ - lib/pact/consumer/mock_service/pact_post.rb
276
+ - lib/pact/consumer/mock_service/rack_request_helper.rb
277
+ - lib/pact/consumer/mock_service/verification_get.rb
278
+ - lib/pact/consumer/mock_service_client.rb
279
+ - lib/pact/consumer/mock_service_interaction_expectation.rb
280
+ - lib/pact/consumer/request.rb
281
+ - lib/pact/consumer/server.rb
282
+ - lib/pact/consumer_contract/consumer_contract_writer.rb
283
+ - lib/pact/mock_service.rb
284
+ - lib/pact/mock_service/cli.rb
285
+ - lib/pact/mock_service/version.rb
286
+ - pact-mock-service.gemspec
287
+ - spec/lib/pact/consumer/app_manager_spec.rb
288
+ - spec/lib/pact/consumer/mock_service/app_spec.rb
289
+ - spec/lib/pact/consumer/mock_service/interaction_list_spec.rb
290
+ - spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb
291
+ - spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb
292
+ - spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb
293
+ - spec/lib/pact/consumer/mock_service/verification_get_spec.rb
294
+ - spec/lib/pact/consumer/mock_service_client_spec.rb
295
+ - spec/lib/pact/consumer/mock_service_interaction_expectation_spec.rb
296
+ - spec/lib/pact/consumer/service_consumer_spec.rb
297
+ - spec/lib/pact/consumer_contract/consumer_contract_writer_spec.rb
298
+ - spec/spec_helper.rb
299
+ - spec/support/a_consumer-a_producer.json
300
+ - spec/support/a_consumer-a_provider.json
301
+ - spec/support/active_support_if_configured.rb
302
+ - spec/support/app_for_config_ru.rb
303
+ - spec/support/case-insensitive-response-header-matching.json
304
+ - spec/support/case-insensitive-response-header-matching.rb
305
+ - spec/support/consumer_contract_template.json
306
+ - spec/support/dsl_spec_support.rb
307
+ - spec/support/factories.rb
308
+ - spec/support/generated_index.md
309
+ - spec/support/generated_markdown.md
310
+ - spec/support/interaction_view_model.json
311
+ - spec/support/interaction_view_model_with_terms.json
312
+ - spec/support/markdown_pact.json
313
+ - spec/support/missing_provider_states_output.txt
314
+ - spec/support/options.json
315
+ - spec/support/options_app.rb
316
+ - spec/support/pact_helper.rb
317
+ - spec/support/shared_examples_for_request.rb
318
+ - spec/support/spec_support.rb
319
+ - spec/support/stubbing.json
320
+ - spec/support/stubbing_using_allow.rb
321
+ - spec/support/term.json
322
+ - spec/support/test_app_fail.json
323
+ - spec/support/test_app_pass.json
324
+ - spec/support/test_app_with_right_content_type_differ.json
325
+ - tasks/spec.rake
326
+ homepage: https://github.com/bethesque/pact-mock_service
327
+ licenses:
328
+ - MIT
329
+ metadata: {}
330
+ post_install_message:
331
+ rdoc_options: []
332
+ require_paths:
333
+ - lib
334
+ required_ruby_version: !ruby/object:Gem::Requirement
335
+ requirements:
336
+ - - ! '>='
337
+ - !ruby/object:Gem::Version
338
+ version: '0'
339
+ required_rubygems_version: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - ! '>='
342
+ - !ruby/object:Gem::Version
343
+ version: '0'
344
+ requirements: []
345
+ rubyforge_project:
346
+ rubygems_version: 2.1.11
347
+ signing_key:
348
+ specification_version: 4
349
+ summary: Provides a mock service for use with Pact
350
+ test_files:
351
+ - spec/lib/pact/consumer/app_manager_spec.rb
352
+ - spec/lib/pact/consumer/mock_service/app_spec.rb
353
+ - spec/lib/pact/consumer/mock_service/interaction_list_spec.rb
354
+ - spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb
355
+ - spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb
356
+ - spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb
357
+ - spec/lib/pact/consumer/mock_service/verification_get_spec.rb
358
+ - spec/lib/pact/consumer/mock_service_client_spec.rb
359
+ - spec/lib/pact/consumer/mock_service_interaction_expectation_spec.rb
360
+ - spec/lib/pact/consumer/service_consumer_spec.rb
361
+ - spec/lib/pact/consumer_contract/consumer_contract_writer_spec.rb
362
+ - spec/spec_helper.rb
363
+ - spec/support/a_consumer-a_producer.json
364
+ - spec/support/a_consumer-a_provider.json
365
+ - spec/support/active_support_if_configured.rb
366
+ - spec/support/app_for_config_ru.rb
367
+ - spec/support/case-insensitive-response-header-matching.json
368
+ - spec/support/case-insensitive-response-header-matching.rb
369
+ - spec/support/consumer_contract_template.json
370
+ - spec/support/dsl_spec_support.rb
371
+ - spec/support/factories.rb
372
+ - spec/support/generated_index.md
373
+ - spec/support/generated_markdown.md
374
+ - spec/support/interaction_view_model.json
375
+ - spec/support/interaction_view_model_with_terms.json
376
+ - spec/support/markdown_pact.json
377
+ - spec/support/missing_provider_states_output.txt
378
+ - spec/support/options.json
379
+ - spec/support/options_app.rb
380
+ - spec/support/pact_helper.rb
381
+ - spec/support/shared_examples_for_request.rb
382
+ - spec/support/spec_support.rb
383
+ - spec/support/stubbing.json
384
+ - spec/support/stubbing_using_allow.rb
385
+ - spec/support/term.json
386
+ - spec/support/test_app_fail.json
387
+ - spec/support/test_app_pass.json
388
+ - spec/support/test_app_with_right_content_type_differ.json