pact_broker-client 1.25.0 → 1.27.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/trigger_pact_cli_release.yml +15 -0
  3. data/.github/workflows/trigger_pact_docs_update.yml +21 -0
  4. data/CHANGELOG.md +55 -0
  5. data/Gemfile +6 -1
  6. data/README.md +4 -3
  7. data/doc/pacts/markdown/Pact Broker Client - Pact Broker.md +234 -10
  8. data/lib/pact_broker/client/can_i_deploy.rb +6 -0
  9. data/lib/pact_broker/client/cli/broker.rb +33 -0
  10. data/lib/pact_broker/client/cli/custom_thor.rb +36 -14
  11. data/lib/pact_broker/client/git.rb +2 -1
  12. data/lib/pact_broker/client/hal/entity.rb +13 -4
  13. data/lib/pact_broker/client/hal/http_client.rb +6 -0
  14. data/lib/pact_broker/client/hal/link.rb +5 -1
  15. data/lib/pact_broker/client/hal_client_methods.rb +15 -0
  16. data/lib/pact_broker/client/matrix/resource.rb +5 -1
  17. data/lib/pact_broker/client/pacticipants/create.rb +57 -0
  18. data/lib/pact_broker/client/pacts/list_latest_versions.rb +65 -0
  19. data/lib/pact_broker/client/publish_pacts.rb +1 -1
  20. data/lib/pact_broker/client/version.rb +1 -1
  21. data/lib/pact_broker/client/webhooks/create.rb +7 -1
  22. data/lib/pact_broker/client/webhooks/test.rb +16 -0
  23. data/pact-broker-client.gemspec +3 -4
  24. data/spec/integration/can_i_deploy_spec.rb +3 -3
  25. data/spec/integration/create_version_tag_spec.rb +2 -3
  26. data/spec/lib/pact_broker/client/can_i_deploy_spec.rb +22 -4
  27. data/spec/lib/pact_broker/client/cli/broker_run_webhook_commands_spec.rb +2 -0
  28. data/spec/lib/pact_broker/client/cli/custom_thor_spec.rb +6 -0
  29. data/spec/lib/pact_broker/client/hal/entity_spec.rb +1 -0
  30. data/spec/lib/pact_broker/client/pacticipants/create_spec.rb +28 -0
  31. data/spec/lib/pact_broker/client/webhooks/create_spec.rb +22 -0
  32. data/spec/pacts/pact_broker_client-pact_broker.json +273 -10
  33. data/spec/service_providers/pact_broker_client_matrix_spec.rb +10 -10
  34. data/spec/service_providers/pact_helper.rb +29 -0
  35. data/spec/service_providers/pacticipants_create_spec.rb +118 -0
  36. data/spec/service_providers/webhooks_create_spec.rb +46 -17
  37. metadata +25 -30
@@ -19,7 +19,7 @@ module PactBroker::Client
19
19
  with(
20
20
  method: :get,
21
21
  path: "/matrix",
22
- query: "q[][pacticipant]=Foo&q[][version]=1.2.3&q[][pacticipant]=Bar&q[][version]=4.5.6&latestby=cvpv"
22
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.3&q%5B%5D%5Bpacticipant%5D=Bar&q%5B%5D%5Bversion%5D=4.5.6&latestby=cvpv"
23
23
  ).
24
24
  will_respond_with(
25
25
  status: 200,
@@ -42,7 +42,7 @@ module PactBroker::Client
42
42
  with(
43
43
  method: :get,
44
44
  path: "/matrix",
45
- query: "q[][pacticipant]=Foo%20Thing&q[][version]=1.2.3&q[][pacticipant]=Bar&q[][version]=4.5.6&latestby=cvpv"
45
+ query: "q%5B%5D%5Bpacticipant%5D=Foo%20Thing&q%5B%5D%5Bversion%5D=1.2.3&q%5B%5D%5Bpacticipant%5D=Bar&q%5B%5D%5Bversion%5D=4.5.6&latestby=cvpv"
46
46
  ).
47
47
  will_respond_with(
48
48
  status: 200,
@@ -67,7 +67,7 @@ module PactBroker::Client
67
67
  with(
68
68
  method: :get,
69
69
  path: "/matrix",
70
- query: "q[][pacticipant]=Foo&q[][version]=1.2.3&latestby=cvp&latest=true"
70
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.3&latestby=cvp&latest=true"
71
71
  ).
72
72
  will_respond_with(
73
73
  status: 200,
@@ -92,7 +92,7 @@ module PactBroker::Client
92
92
  with(
93
93
  method: :get,
94
94
  path: "/matrix",
95
- query: "q[][pacticipant]=Foo&q[][version]=1.2.3&q[][pacticipant]=Bar&q[][version]=9.9.9&latestby=cvpv"
95
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.3&q%5B%5D%5Bpacticipant%5D=Bar&q%5B%5D%5Bversion%5D=9.9.9&latestby=cvpv"
96
96
  ).
97
97
  will_respond_with(
98
98
  status: 200,
@@ -119,7 +119,7 @@ module PactBroker::Client
119
119
  with(
120
120
  method: :get,
121
121
  path: "/matrix",
122
- query: "q[][pacticipant]=Wiffle&q[][version]=1.2.3&q[][pacticipant]=Meep&q[][version]=9.9.9&latestby=cvpv"
122
+ query: "q%5B%5D%5Bpacticipant%5D=Wiffle&q%5B%5D%5Bversion%5D=1.2.3&q%5B%5D%5Bpacticipant%5D=Meep&q%5B%5D%5Bversion%5D=9.9.9&latestby=cvpv"
123
123
  ).
124
124
  will_respond_with(
125
125
  status: 400,
@@ -147,7 +147,7 @@ module PactBroker::Client
147
147
  with(
148
148
  method: :get,
149
149
  path: "/matrix",
150
- query: "q[][pacticipant]=Foo&q[][pacticipant]=Bar&latestby=cvpv"
150
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bpacticipant%5D=Bar&latestby=cvpv"
151
151
  ).
152
152
  will_respond_with(
153
153
  status: 200,
@@ -174,7 +174,7 @@ module PactBroker::Client
174
174
  with(
175
175
  method: :get,
176
176
  path: "/matrix",
177
- query: "q[][pacticipant]=Foo&q[][pacticipant]=Bar&latestby=cvpv&success[]=true"
177
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bpacticipant%5D=Bar&latestby=cvpv&success%5B%5D=true"
178
178
  ).
179
179
  will_respond_with(
180
180
  status: 200,
@@ -200,7 +200,7 @@ module PactBroker::Client
200
200
  with(
201
201
  method: :get,
202
202
  path: "/matrix",
203
- query: "q[][pacticipant]=Foo&q[][version]=1.2.3&q[][pacticipant]=Bar&q[][latest]=true&q[][tag]=prod&latestby=cvpv"
203
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.3&q%5B%5D%5Bpacticipant%5D=Bar&q%5B%5D%5Blatest%5D=true&q%5B%5D%5Btag%5D=prod&latestby=cvpv"
204
204
  ).
205
205
  will_respond_with(
206
206
  status: 200,
@@ -226,7 +226,7 @@ module PactBroker::Client
226
226
  with(
227
227
  method: :get,
228
228
  path: "/matrix",
229
- query: "q[][pacticipant]=Foo&q[][version]=1.2.4&q[][pacticipant]=Bar&q[][latest]=true&latestby=cvpv"
229
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.4&q%5B%5D%5Bpacticipant%5D=Bar&q%5B%5D%5Blatest%5D=true&latestby=cvpv"
230
230
  ).
231
231
  will_respond_with(
232
232
  status: 200,
@@ -252,7 +252,7 @@ module PactBroker::Client
252
252
  with(
253
253
  method: :get,
254
254
  path: "/matrix",
255
- query: "q[][pacticipant]=Foo&q[][version]=1.2.3&latestby=cvp&latest=true&tag=prod"
255
+ query: "q%5B%5D%5Bpacticipant%5D=Foo&q%5B%5D%5Bversion%5D=1.2.3&latestby=cvp&latest=true&tag=prod"
256
256
  ).
257
257
  will_respond_with(
258
258
  status: 200,
@@ -58,12 +58,41 @@ module PactBrokerPactHelperMethods
58
58
  _links: {
59
59
  :'pb:webhooks' => {
60
60
  href: placeholder_url_term('pb:webhooks')
61
+ },
62
+ :'pb:pacticipants' => {
63
+ href: placeholder_url_term('pb:pacticipants')
64
+ },
65
+ :'pb:pacticipant' => {
66
+ href: placeholder_url_term('pb:pacticipant', ['pacticipant'])
61
67
  }
62
68
  }
63
69
  }
64
70
  )
65
71
  end
66
72
 
73
+ def mock_pact_broker_index_with_relations(context, links, provider_state)
74
+ _links = links.each_with_object({}) do | (key, value), new_links |
75
+ new_links[key] = {
76
+ href: value
77
+ }
78
+ end
79
+
80
+ pact_broker
81
+ .given(provider_state)
82
+ .upon_receiving("a request for the index resource")
83
+ .with(
84
+ method: :get,
85
+ path: '/',
86
+ headers: context.get_request_headers).
87
+ will_respond_with(
88
+ status: 200,
89
+ headers: context.pact_broker_response_headers,
90
+ body: {
91
+ _links: _links
92
+ }
93
+ )
94
+ end
95
+
67
96
  def mock_pact_broker_index_with_webhook_relation(context)
68
97
  pact_broker
69
98
  .upon_receiving("a request for the index resource with the webhook relation")
@@ -0,0 +1,118 @@
1
+ require_relative 'pact_helper'
2
+ require 'pact_broker/client/pacticipants/create'
3
+
4
+ RSpec.describe "creating or updating a pacticipant", pact: true do
5
+ include_context "pact broker"
6
+ include PactBrokerPactHelperMethods
7
+
8
+ before do
9
+ index_links = {
10
+ 'pb:pacticipants' => Pact.term('http://localhost:1234/pacticipants', %r{http://.*}),
11
+ 'pb:pacticipant' => Pact.term('http://localhost:1234/pacticipants/{pacticipant}', %r{http://.*\{pacticipant\}}),
12
+ }
13
+ mock_pact_broker_index_with_relations(self, index_links, "the pacticipant relations are present")
14
+ end
15
+
16
+ let(:params) do
17
+ {
18
+ name: "Foo",
19
+ repository_url: "http://foo"
20
+ }
21
+ end
22
+
23
+ let(:request_body) { { name: "Foo", repositoryUrl: "http://foo" } }
24
+
25
+
26
+ let(:response_status) { 201 }
27
+ let(:create_success_response) do
28
+ {
29
+ status: response_status,
30
+ headers: pact_broker_response_headers,
31
+ body: {
32
+ name: "Foo",
33
+ repositoryUrl: "http://foo",
34
+ _links: {
35
+ self: {
36
+ href: Pact.term('http://localhost:1234/pacticipants/Foo', %r{http://.*}),
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+
43
+ let(:get_success_response) do
44
+ {
45
+ status: 200,
46
+ headers: pact_broker_response_headers,
47
+ body: {
48
+ _links: {
49
+ self: {
50
+ href: Pact.term('http://localhost:1234/pacticipants/Foo', %r{http://.*}),
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+
57
+ let(:pact_broker_client_options) { {} }
58
+
59
+ subject { PactBroker::Client::Pacticipants2::Create.call(params, broker_base_url, pact_broker_client_options) }
60
+
61
+ context "when the pacticipant does not already exist" do
62
+ before do
63
+ pact_broker
64
+ .upon_receiving("a request to retrieve a pacticipant")
65
+ .with(
66
+ method: :get,
67
+ path: '/pacticipants/Foo',
68
+ headers: get_request_headers)
69
+ .will_respond_with(status: 404)
70
+
71
+ pact_broker
72
+ .upon_receiving("a request to create a pacticipant")
73
+ .with(
74
+ method: :post,
75
+ path: '/pacticipants',
76
+ headers: post_request_headers,
77
+ body: request_body)
78
+ .will_respond_with(create_success_response)
79
+ end
80
+
81
+ it "returns a CommandResult with success = true" do
82
+ expect(subject).to be_a PactBroker::Client::CommandResult
83
+ expect(subject.success).to be true
84
+ expect(subject.message).to eq "Pacticipant \"Foo\" created"
85
+ end
86
+ end
87
+
88
+ context "when the pacticipant does already exist" do
89
+ before do
90
+ pact_broker
91
+ .given("a pacticipant with name Foo exists")
92
+ .upon_receiving("a request to retrieve a pacticipant")
93
+ .with(
94
+ method: :get,
95
+ path: '/pacticipants/Foo',
96
+ headers: get_request_headers)
97
+ .will_respond_with(get_success_response)
98
+
99
+ pact_broker
100
+ .given("a pacticipant with name Foo exists")
101
+ .upon_receiving("a request to update a pacticipant")
102
+ .with(
103
+ method: :patch,
104
+ path: '/pacticipants/Foo',
105
+ headers: post_request_headers,
106
+ body: request_body)
107
+ .will_respond_with(create_success_response)
108
+ end
109
+
110
+ let(:response_status) { 200 }
111
+
112
+ it "returns a CommandResult with success = true" do
113
+ expect(subject).to be_a PactBroker::Client::CommandResult
114
+ expect(subject.success).to be true
115
+ expect(subject.message).to eq "Pacticipant \"Foo\" updated"
116
+ end
117
+ end
118
+ end
@@ -47,11 +47,13 @@ RSpec.describe "creating a webhook", pact: true do
47
47
  }
48
48
  end
49
49
 
50
+ let(:response_status) { 201 }
50
51
  let(:success_response) do
51
52
  {
52
- status: 201,
53
+ status: response_status,
53
54
  headers: pact_broker_response_headers,
54
55
  body: {
56
+ description: Pact.like("a webhook"),
55
57
  _links: {
56
58
  self: {
57
59
  href: Pact.term('http://localhost:1234/some-url', %r{http://.*}),
@@ -82,7 +84,7 @@ RSpec.describe "creating a webhook", pact: true do
82
84
  it "returns a CommandResult with success = true" do
83
85
  expect(subject).to be_a PactBroker::Client::CommandResult
84
86
  expect(subject.success).to be true
85
- expect(subject.message).to eq "Webhook \"A title\" created"
87
+ expect(subject.message).to eq "Webhook \"a webhook\" created"
86
88
  end
87
89
  end
88
90
 
@@ -201,7 +203,7 @@ RSpec.describe "creating a webhook", pact: true do
201
203
 
202
204
  it "returns a CommandResult with success = true" do
203
205
  expect(subject.success).to be true
204
- expect(subject.message).to eq "Webhook \"A title\" created"
206
+ expect(subject.message).to eq "Webhook \"a webhook\" created"
205
207
  end
206
208
  end
207
209
 
@@ -282,23 +284,50 @@ RSpec.describe "creating a webhook", pact: true do
282
284
  request_body["provider"] = { "name" => "Pricing Service" }
283
285
  request_body["consumer"] = { "name" => "Condor" }
284
286
  mock_pact_broker_index_with_webhook_relation(self)
285
-
286
- pact_broker
287
- .upon_receiving("a request to create a webhook with a JSON body and a uuid")
288
- .given("the 'Pricing Service' and 'Condor' already exist in the pact-broker")
289
- .with(
290
- method: :put,
291
- path: "/webhooks/#{uuid}",
292
- headers: put_request_headers,
293
- body: request_body)
294
- .will_respond_with(success_response)
295
287
  end
288
+
296
289
  let(:uuid) { '696c5f93-1b7f-44bc-8d03-59440fcaa9a0' }
297
290
 
298
- it "returns a CommandResult with success = true" do
299
- expect(subject).to be_a PactBroker::Client::CommandResult
300
- expect(subject.success).to be true
301
- expect(subject.message).to eq "Webhook \"A title\" created"
291
+ context "when the webhook does not already exist" do
292
+ before do
293
+ pact_broker
294
+ .upon_receiving("a request to create a webhook with a JSON body and a uuid")
295
+ .given("the 'Pricing Service' and 'Condor' already exist in the pact-broker")
296
+ .with(
297
+ method: :put,
298
+ path: "/webhooks/#{uuid}",
299
+ headers: put_request_headers,
300
+ body: request_body)
301
+ .will_respond_with(success_response)
302
+ end
303
+
304
+ it "returns a CommandResult with success = true" do
305
+ expect(subject).to be_a PactBroker::Client::CommandResult
306
+ expect(subject.success).to be true
307
+ expect(subject.message).to eq "Webhook \"a webhook\" created"
308
+ end
309
+ end
310
+
311
+ context "when the webhook does exist" do
312
+ before do
313
+ pact_broker
314
+ .upon_receiving("a request to update a webhook")
315
+ .given("a webhook with the uuid #{uuid} exists")
316
+ .with(
317
+ method: :put,
318
+ path: "/webhooks/#{uuid}",
319
+ headers: put_request_headers,
320
+ body: request_body)
321
+ .will_respond_with(success_response)
322
+ end
323
+
324
+ let(:response_status) { 200 }
325
+
326
+ it "returns a CommandResult with success = true" do
327
+ expect(subject).to be_a PactBroker::Client::CommandResult
328
+ expect(subject.success).to be true
329
+ expect(subject.message).to eq "Webhook \"a webhook\" updated"
330
+ end
302
331
  end
303
332
  end
304
333
  end
metadata CHANGED
@@ -1,57 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact_broker-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beth Skurrie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-17 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: json
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
17
+ - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '0'
19
+ version: '0.18'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - ">="
24
+ - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '0.18'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: term-ansicolor
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ">="
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: '1.7'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: '1.7'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: table_print
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +70,16 @@ dependencies:
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ">="
73
+ - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: '13.0'
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ">="
80
+ - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '0'
82
+ version: '13.0'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: fakefs
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -173,6 +159,8 @@ executables:
173
159
  extensions: []
174
160
  extra_rdoc_files: []
175
161
  files:
162
+ - ".github/workflows/trigger_pact_cli_release.yml"
163
+ - ".github/workflows/trigger_pact_docs_update.yml"
176
164
  - ".gitignore"
177
165
  - ".rspec"
178
166
  - ".travis.yml"
@@ -213,6 +201,7 @@ files:
213
201
  - lib/pact_broker/client/hal/entry_point.rb
214
202
  - lib/pact_broker/client/hal/http_client.rb
215
203
  - lib/pact_broker/client/hal/link.rb
204
+ - lib/pact_broker/client/hal_client_methods.rb
216
205
  - lib/pact_broker/client/matrix.rb
217
206
  - lib/pact_broker/client/matrix/formatter.rb
218
207
  - lib/pact_broker/client/matrix/json_formatter.rb
@@ -223,7 +212,9 @@ files:
223
212
  - lib/pact_broker/client/pact_file.rb
224
213
  - lib/pact_broker/client/pact_hash.rb
225
214
  - lib/pact_broker/client/pacticipants.rb
215
+ - lib/pact_broker/client/pacticipants/create.rb
226
216
  - lib/pact_broker/client/pacts.rb
217
+ - lib/pact_broker/client/pacts/list_latest_versions.rb
227
218
  - lib/pact_broker/client/publish_pacts.rb
228
219
  - lib/pact_broker/client/retry.rb
229
220
  - lib/pact_broker/client/tasks.rb
@@ -235,6 +226,7 @@ files:
235
226
  - lib/pact_broker/client/versions/json_formatter.rb
236
227
  - lib/pact_broker/client/versions/text_formatter.rb
237
228
  - lib/pact_broker/client/webhooks/create.rb
229
+ - lib/pact_broker/client/webhooks/test.rb
238
230
  - lib/pact_broker_client.rb
239
231
  - pact-broker-client.gemspec
240
232
  - script/generate-cli-usage.sh
@@ -261,6 +253,7 @@ files:
261
253
  - spec/lib/pact_broker/client/matrix_spec.rb
262
254
  - spec/lib/pact_broker/client/merge_pacts_spec.rb
263
255
  - spec/lib/pact_broker/client/pact_broker_client_spec.rb
256
+ - spec/lib/pact_broker/client/pacticipants/create_spec.rb
264
257
  - spec/lib/pact_broker/client/pacticipants_spec.rb
265
258
  - spec/lib/pact_broker/client/publish_pacts_spec.rb
266
259
  - spec/lib/pact_broker/client/retry_spec.rb
@@ -279,6 +272,7 @@ files:
279
272
  - spec/service_providers/pact_broker_client_tags_spec.rb
280
273
  - spec/service_providers/pact_broker_client_versions_spec.rb
281
274
  - spec/service_providers/pact_helper.rb
275
+ - spec/service_providers/pacticipants_create_spec.rb
282
276
  - spec/service_providers/webhooks_create_spec.rb
283
277
  - spec/spec_helper.rb
284
278
  - spec/support/cli_test_pacts/bar.json
@@ -311,8 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
305
  - !ruby/object:Gem::Version
312
306
  version: '0'
313
307
  requirements: []
314
- rubyforge_project:
315
- rubygems_version: 2.7.6
308
+ rubygems_version: 3.0.6
316
309
  signing_key:
317
310
  specification_version: 4
318
311
  summary: See description
@@ -338,6 +331,7 @@ test_files:
338
331
  - spec/lib/pact_broker/client/matrix_spec.rb
339
332
  - spec/lib/pact_broker/client/merge_pacts_spec.rb
340
333
  - spec/lib/pact_broker/client/pact_broker_client_spec.rb
334
+ - spec/lib/pact_broker/client/pacticipants/create_spec.rb
341
335
  - spec/lib/pact_broker/client/pacticipants_spec.rb
342
336
  - spec/lib/pact_broker/client/publish_pacts_spec.rb
343
337
  - spec/lib/pact_broker/client/retry_spec.rb
@@ -356,6 +350,7 @@ test_files:
356
350
  - spec/service_providers/pact_broker_client_tags_spec.rb
357
351
  - spec/service_providers/pact_broker_client_versions_spec.rb
358
352
  - spec/service_providers/pact_helper.rb
353
+ - spec/service_providers/pacticipants_create_spec.rb
359
354
  - spec/service_providers/webhooks_create_spec.rb
360
355
  - spec/spec_helper.rb
361
356
  - spec/support/cli_test_pacts/bar.json