defra_ruby_mocks 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -75
  3. data/app/controllers/defra_ruby_mocks/govpay_controller.rb +28 -3
  4. data/app/jobs/defra_ruby_mocks/application_job.rb +6 -0
  5. data/app/jobs/defra_ruby_mocks/govpay_payment_callback_job.rb +17 -0
  6. data/app/services/defra_ruby_mocks/govpay_create_payment_service.rb +41 -13
  7. data/app/services/defra_ruby_mocks/govpay_get_payment_service.rb +74 -16
  8. data/app/services/defra_ruby_mocks/govpay_refund_details_service.rb +43 -0
  9. data/app/services/defra_ruby_mocks/govpay_request_refund_service.rb +27 -0
  10. data/config/routes.rb +10 -10
  11. data/lib/defra_ruby_mocks/configuration.rb +1 -1
  12. data/lib/defra_ruby_mocks/engine.rb +0 -1
  13. data/lib/defra_ruby_mocks/version.rb +1 -1
  14. data/spec/dummy/log/test.log +1279 -972
  15. data/spec/examples.txt +68 -121
  16. data/spec/fixtures/files/govpay/create_payment_created_response.json +24 -0
  17. data/spec/fixtures/files/govpay/create_payment_error_response.json +5 -0
  18. data/spec/fixtures/files/govpay/get_payment_response_cancelled.json +61 -0
  19. data/spec/fixtures/files/govpay/get_payment_response_created.json +73 -0
  20. data/spec/fixtures/files/govpay/get_payment_response_error.json +5 -0
  21. data/spec/fixtures/files/govpay/get_payment_response_failure.json +9 -0
  22. data/spec/fixtures/files/govpay/get_payment_response_not_found.json +4 -0
  23. data/spec/fixtures/files/govpay/get_payment_response_submitted.json +75 -0
  24. data/spec/fixtures/files/govpay/get_payment_response_success.json +62 -0
  25. data/spec/requests/govpay_spec.rb +64 -1
  26. data/spec/services/govpay_create_payment_service_spec.rb +44 -0
  27. data/spec/services/govpay_get_payment_service_spec.rb +30 -0
  28. data/spec/services/govpay_refund_details_service_spec.rb +58 -0
  29. data/spec/services/govpay_request_refund_service_spec.rb +31 -0
  30. metadata +32 -48
  31. data/app/controllers/defra_ruby_mocks/worldpay_controller.rb +0 -57
  32. data/app/services/defra_ruby_mocks/worldpay_payment_service.rb +0 -47
  33. data/app/services/defra_ruby_mocks/worldpay_refund_service.rb +0 -37
  34. data/app/services/defra_ruby_mocks/worldpay_request_handler_service.rb +0 -40
  35. data/app/services/defra_ruby_mocks/worldpay_resource_service.rb +0 -55
  36. data/app/services/defra_ruby_mocks/worldpay_response_service.rb +0 -119
  37. data/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb +0 -4
  38. data/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb +0 -4
  39. data/app/views/defra_ruby_mocks/worldpay/stuck.html.erb +0 -37
  40. data/lib/defra_ruby_mocks/unrecognised_worldpay_request_error.rb +0 -5
  41. data/spec/fixtures/payment_request_invalid.xml +0 -6
  42. data/spec/fixtures/payment_request_valid.xml +0 -30
  43. data/spec/fixtures/refund_request_invalid.xml +0 -6
  44. data/spec/fixtures/refund_request_valid.xml +0 -11
  45. data/spec/fixtures/unrecognised_request.xml +0 -6
  46. data/spec/requests/worldpay_spec.rb +0 -163
  47. data/spec/services/worldpay_payment_service_spec.rb +0 -95
  48. data/spec/services/worldpay_refund_service_spec.rb +0 -68
  49. data/spec/services/worldpay_request_handler_service_spec.rb +0 -79
  50. data/spec/services/worldpay_resource_service_spec.rb +0 -120
  51. data/spec/services/worldpay_response_service_spec.rb +0 -280
@@ -1,381 +1,305 @@
1
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
1
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
2
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
2
3
  Processing by DefraRubyMocks::CompanyController#officers as HTML
3
4
  Parameters: {"id"=>"company-no"}
4
5
  Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
5
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.6ms | Allocations: 265)
6
- Completed 200 OK in 13ms (Views: 8.2ms | Allocations: 2457)
7
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
8
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
9
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
6
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.5ms | Allocations: 265)
7
+ Completed 200 OK in 10ms (Views: 6.2ms | Allocations: 2457)
8
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
9
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
10
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
11
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
12
+ Did you mean? amount
13
+ action
14
+ controller
15
+ return_url
16
+ Completed 500 Internal Server Error in 5ms (Allocations: 134)
17
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
18
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
19
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
20
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: bbfbbbfe-5bc7-4735-bc94-4c4361fe1ac3) to Test(default) with arguments: "https://your.service.gov.uk/completed"
21
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 515)
22
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
23
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
24
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
25
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: cfdfb9ba-4ab9-4ca8-be44-0408a2b9141b) to Test(default) with arguments: "https://your.service.gov.uk/completed"
26
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
27
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
28
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
29
+ Parameters: {"payment_id"=>"0"}
30
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
31
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
32
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
33
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
34
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
35
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 569)
36
+ Started POST "/defra_ruby_mocks/govpay/6vzm2g7ydtv268tl13i7qoyubc/refunds" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
37
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
38
+ Started GET "/defra_ruby_mocks/govpay/payments/2wkjeno5d3eetno3u56a9ag2ge" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
39
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
40
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
10
41
  Processing by DefraRubyMocks::CompanyController#show as HTML
11
42
  Parameters: {"id"=>"05868270"}
12
43
  Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
13
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 123)
14
- Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 624)
15
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
44
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.7ms | Allocations: 125)
45
+ Completed 200 OK in 2ms (Views: 1.1ms | Allocations: 628)
46
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
16
47
  Processing by DefraRubyMocks::CompanyController#show as HTML
17
- Parameters: {"id"=>"99999999"}
48
+ Parameters: {"id"=>"foo"}
18
49
  Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
19
50
  Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
20
- Completed 404 Not Found in 1ms (Views: 1.0ms | Allocations: 535)
21
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
51
+ Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 535)
52
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
22
53
  Processing by DefraRubyMocks::CompanyController#show as HTML
23
- Parameters: {"id"=>"foo"}
54
+ Parameters: {"id"=>"SC247974"}
55
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
56
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
57
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
58
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-03-02 13:44:00 +0000
59
+ Processing by DefraRubyMocks::CompanyController#show as HTML
60
+ Parameters: {"id"=>"99999999"}
24
61
  Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
25
62
  Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
26
- Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
27
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
63
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
64
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
65
+ Processing by DefraRubyMocks::CompanyController#show as HTML
66
+ Parameters: {"id"=>"99999999"}
67
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
68
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 2.2ms | Allocations: 253)
69
+ Completed 404 Not Found in 19ms (Views: 18.4ms | Allocations: 2394)
70
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
71
+ Processing by DefraRubyMocks::CompanyController#show as HTML
72
+ Parameters: {"id"=>"foo"}
73
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
74
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.1ms | Allocations: 10)
75
+ Completed 404 Not Found in 1ms (Views: 0.5ms | Allocations: 254)
76
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
28
77
  Processing by DefraRubyMocks::CompanyController#show as HTML
29
78
  Parameters: {"id"=>"SC247974"}
30
79
  Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
31
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
32
- Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
33
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
34
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
35
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
36
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
37
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
38
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.0ms | Allocations: 147)
39
- Completed 200 OK in 3ms (Views: 2.8ms | Allocations: 1317)
40
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
41
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
42
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
43
- Completed 500 Internal Server Error in 1ms (Allocations: 615)
44
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
45
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
46
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
47
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.4ms | Allocations: 156)
48
- Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 716)
49
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
50
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
51
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
52
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
53
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.1ms | Allocations: 457)
54
- Completed 200 OK in 2ms (Views: 1.9ms | Allocations: 1098)
55
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
56
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
57
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
58
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
59
- Completed 302 Found in 0ms (Allocations: 355)
60
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 13:32:57 +0100
61
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
62
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
63
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
64
- Completed 500 Internal Server Error in 0ms (Allocations: 174)
65
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
66
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
67
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
68
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
69
- Completed 500 Internal Server Error in 1ms (Allocations: 256)
70
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
71
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
72
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
73
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
74
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 3.0ms | Allocations: 620)
75
- Completed 200 OK in 16ms (Views: 15.1ms | Allocations: 2368)
76
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
77
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
78
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
79
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
80
- Completed 302 Found in 1ms (Allocations: 355)
81
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
82
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
83
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
84
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 3.3ms | Allocations: 164)
85
- Completed 200 OK in 9ms (Views: 5.3ms | Allocations: 1806)
86
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
87
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
88
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
89
- Completed 500 Internal Server Error in 1ms (Allocations: 611)
90
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
91
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
92
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
93
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.5ms | Allocations: 141)
94
- Completed 200 OK in 3ms (Views: 1.5ms | Allocations: 925)
95
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 15:55:50 +0100
96
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
97
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
98
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
99
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
100
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.6ms | Allocations: 309)
101
- Completed 200 OK in 25ms (Views: 18.2ms | Allocations: 3181)
102
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
103
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
104
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
105
- Completed 500 Internal Server Error in 1ms (Allocations: 613)
106
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
107
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
108
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
109
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.7ms | Allocations: 156)
110
- Completed 200 OK in 3ms (Views: 1.7ms | Allocations: 992)
111
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
112
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
113
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
114
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
115
- Completed 500 Internal Server Error in 0ms (Allocations: 186)
116
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
117
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
118
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
119
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
120
- Completed 302 Found in 1ms (Allocations: 364)
121
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:57:35 +0100
122
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
123
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
124
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
125
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.8ms | Allocations: 457)
126
- Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1097)
127
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
128
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
129
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
130
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
131
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
132
- Completed 500 Internal Server Error in 0ms (Allocations: 255)
133
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
134
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
135
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
136
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
137
- Completed 302 Found in 1ms (Allocations: 365)
138
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
139
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
140
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
141
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
142
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.8ms | Allocations: 619)
143
- Completed 200 OK in 8ms (Views: 7.5ms | Allocations: 2358)
144
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
145
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
146
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
147
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.5ms | Allocations: 147)
148
- Completed 200 OK in 6ms (Views: 1.9ms | Allocations: 1736)
149
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
150
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
151
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
152
- Completed 500 Internal Server Error in 1ms (Allocations: 605)
153
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:58:51 +0100
154
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
155
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
156
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.5ms | Allocations: 156)
157
- Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 992)
158
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
159
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
160
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
161
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
162
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.5ms | Allocations: 619)
163
- Completed 200 OK in 7ms (Views: 6.9ms | Allocations: 2445)
164
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
165
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
166
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
167
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
168
- Completed 302 Found in 0ms (Allocations: 355)
169
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
170
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
171
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
172
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
173
- Completed 500 Internal Server Error in 0ms (Allocations: 179)
174
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
175
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
176
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
177
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.8ms | Allocations: 147)
178
- Completed 200 OK in 4ms (Views: 2.4ms | Allocations: 1736)
179
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
180
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
181
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
182
- Completed 500 Internal Server Error in 1ms (Allocations: 611)
183
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
184
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
185
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
186
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.8ms | Allocations: 156)
187
- Completed 200 OK in 3ms (Views: 1.7ms | Allocations: 992)
188
- Started POST "/defra_ruby_mocks/govpay/gbk3boji3ytxhazlt6q6cvnn9x/refunds" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
189
- Started GET "/defra_ruby_mocks/govpay/payments/dgo0o585cczpxbv0kojs6f0xm1" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
190
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 15:59:26 +0100
191
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 16:26:05 +0100
192
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:26:36 +0100
193
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:28:04 +0100
194
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:28:23 +0100
195
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:29:26 +0100
196
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:30:32 +0100
197
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
198
- Parameters: {"amount"=>"5644", "reference"=>"Rerum optio totam ut.", "description"=>"Minima sed aliquam sunt.", "return_url"=>"http://rohan.name/keenan"}
199
- No template found for DefraRubyMocks::GovpayController#create_payment, rendering head :no_content
200
- Completed 204 No Content in 1ms (Allocations: 970)
201
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:35:53 +0100
202
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
203
- Parameters: {"amount"=>"8742", "reference"=>"Magnam maiores quidem sapiente.", "description"=>"Neque explicabo doloribus ut.", "return_url"=>"http://metz-johnson.info/willard"}
204
- MOCKS: Govpay payment creation error: Missing template defra_ruby_mocks/govpay/payment_creation_response with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}. Searched in:
205
- * "/Users/pauldoyle/dev/defra-ruby-mocks/spec/dummy/app/views"
206
- * "/Users/pauldoyle/dev/defra-ruby-mocks/app/views"
207
-
208
- Completed 500 Internal Server Error in 11ms (Allocations: 1659)
209
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:36:16 +0100
210
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
211
- Parameters: {"amount"=>"9129", "reference"=>"Facere eum voluptatum quo.", "description"=>"Numquam voluptatem enim architecto.", "return_url"=>"http://simonis-waelchi.info/jere_paucek"}
212
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 158)
213
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:36:47 +0100
214
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
215
- Parameters: {"amount"=>"3409", "reference"=>"Eos debitis autem dolores.", "description"=>"Illum qui harum reiciendis.", "return_url"=>"http://lueilwitz-ledner.net/luciano_raynor"}
216
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 158)
217
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:37:01 +0100
218
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
219
- Parameters: {"amount"=>"999", "reference"=>"Quasi iste veritatis architecto.", "description"=>"Deserunt autem beatae distinctio.", "return_url"=>"http://gutmann.org/alec.reichert"}
220
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 158)
221
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:38:42 +0100
222
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
223
- Parameters: {"amount"=>"2288", "reference"=>"Eveniet minima quidem iure.", "description"=>"Similique voluptatum et ut.", "return_url"=>"http://hayes-nader.biz/ezra_lind"}
224
- MOCKS: Govpay payment creation error: undefined method `file_fixture' for #<DefraRubyMocks::GovpayController:0x00000000005870>
225
- Completed 500 Internal Server Error in 4ms (Allocations: 2174)
226
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:39:06 +0100
227
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
228
- Parameters: {"amount"=>"4113", "reference"=>"Qui enim a recusandae.", "description"=>"Enim et perferendis id.", "return_url"=>"http://howe-emmerich.biz/charlie_bogisich"}
229
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:40:48 +0100
230
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
231
- Parameters: {"amount"=>"2389", "reference"=>"Nemo nostrum excepturi exercitationem.", "description"=>"Omnis aspernatur eligendi debitis.", "return_url"=>"http://lebsack.name/heide"}
232
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:41:15 +0100
233
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
234
- Parameters: {"amount"=>"3789", "reference"=>"Consectetur ut non dolores.", "description"=>"Quo animi sed explicabo.", "return_url"=>"http://bednar-gorczany.net/mohamed"}
235
- Completed 200 OK in 6854ms (Views: 0.2ms | Allocations: 2656)
236
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:41:37 +0100
237
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
238
- Parameters: {"amount"=>"6924", "reference"=>"Error rerum dolorem fugit.", "description"=>"Officia non eaque ab.", "return_url"=>"http://collins.net/sterling"}
239
- Completed 200 OK in 13773ms (Views: 0.2ms | Allocations: 2824)
240
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:41:57 +0100
241
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
242
- Parameters: {"amount"=>"3992", "reference"=>"Dolorem est id tenetur.", "description"=>"Mollitia inventore sit quia.", "return_url"=>"http://medhurst-kuhlman.name/dannielle"}
243
- Completed 200 OK in 1679ms (Views: 0.3ms | Allocations: 2684)
244
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:42:41 +0100
245
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
246
- Parameters: {"amount"=>"6003", "reference"=>"Quam ratione quod rerum.", "description"=>"Similique eum eligendi sint.", "return_url"=>"http://gorczany.co/lenard"}
247
- Completed 200 OK in 1159ms (Views: 0.2ms | Allocations: 2782)
248
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:43:33 +0100
249
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
250
- Parameters: {"amount"=>"9081", "reference"=>"12345", "description"=>"Ea quo saepe repellat.", "return_url"=>"http://lehner.com/geri"}
251
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
252
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:43:56 +0100
253
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
254
- Parameters: {"amount"=>"5119", "reference"=>"12345", "description"=>"Voluptatem cumque libero vero.", "return_url"=>"http://von-mcclure.name/sammie.herzog"}
255
- Completed 200 OK in 0ms (Views: 0.2ms | Allocations: 160)
256
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:44:41 +0100
257
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
258
- Parameters: {"amount"=>"244", "reference"=>"12345", "description"=>"Temporibus quasi laboriosam perspiciatis.", "return_url"=>"http://mclaughlin-dickens.co/bebe"}
259
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 160)
260
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:45:31 +0100
261
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
262
- Parameters: {"amount"=>"1451", "reference"=>"12345", "description"=>"Quia sit blanditiis quia.", "return_url"=>"http://legros-konopelski.co/annita.satterfield"}
263
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
264
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:47:07 +0100
265
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
266
- Parameters: {"amount"=>"7983", "reference"=>"12345", "description"=>"Omnis voluptatem qui omnis.", "return_url"=>"http://pfeffer.com/jaime.gorczany"}
267
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 160)
268
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:47:31 +0100
269
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
270
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Velit quis deserunt modi.", "return_url"=>"http://auer-reinger.info/eldridge"}
271
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
272
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:47:54 +0100
273
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
274
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"http://durgan-romaguera.biz/alvaro"}
275
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 160)
276
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:48:19 +0100
277
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
278
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"http://nitzsche.io/rochell"}
279
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
280
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:48:34 +0100
80
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.8ms | Allocations: 123)
81
+ Completed 200 OK in 2ms (Views: 1.2ms | Allocations: 632)
82
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
83
+ Processing by DefraRubyMocks::CompanyController#show as HTML
84
+ Parameters: {"id"=>"05868270"}
85
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
86
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
87
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
88
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
89
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
90
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
91
+ Parameters: {"id"=>"company-no"}
92
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
93
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.2ms | Allocations: 104)
94
+ Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 588)
95
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
96
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
97
+ Started POST "/defra_ruby_mocks/govpay/c6pdk6isg1vuz9q5dpv5so6ft3/refunds" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
98
+ Started GET "/defra_ruby_mocks/govpay/payments/fmh3l6tiojgt287nmpc3u2umra" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
99
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
100
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
101
+ Parameters: {"payment_id"=>"0"}
102
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
103
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 96)
104
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
105
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
106
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
107
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 573)
108
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
109
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
281
110
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
282
111
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
283
- Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 160)
284
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:49:13 +0100
112
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 884a6f50-cfab-465e-9b92-e00ddb3006a4) to Test(default) with arguments: "https://your.service.gov.uk/completed"
113
+ Completed 200 OK in 6ms (Views: 0.3ms | Allocations: 511)
114
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
285
115
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
286
116
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
287
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
288
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:55:48 +0100
117
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: b5c29917-4d0b-41f4-9b9f-c42149b1f9f3) to Test(default) with arguments: "https://your.service.gov.uk/completed"
118
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 372)
119
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:36:14 +0100
289
120
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
290
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
291
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:55:48 +0100
292
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
293
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 76)
294
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:55:48 +0100
121
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
122
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
123
+ Did you mean? amount
124
+ action
125
+ controller
126
+ return_url
127
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
128
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
129
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
130
+ Parameters: {"id"=>"company-no"}
131
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
132
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.4ms | Allocations: 265)
133
+ Completed 200 OK in 9ms (Views: 5.5ms | Allocations: 2457)
134
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
135
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
136
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
137
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
138
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 599)
139
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
140
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
141
+ Parameters: {"payment_id"=>"0"}
142
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
143
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
144
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
295
145
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
296
146
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
297
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 76)
298
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 16:56:07 +0100
147
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: b20b5e97-4fa3-408f-bd40-02992c8b860b) to Test(default) with arguments: "https://your.service.gov.uk/completed"
148
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 513)
149
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
299
150
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
300
151
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
301
- Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 160)
302
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:02:47 +0100
303
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
304
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
305
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 160)
306
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:09:06 +0100
307
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
308
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
309
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 183)
310
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:10:49 +0100
311
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
312
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
313
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
314
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
315
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:11:28 +0100
152
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: c66cb2f2-2aca-4a4d-ae44-201651c26b9e) to Test(default) with arguments: "https://your.service.gov.uk/completed"
153
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
154
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
316
155
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
317
156
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
318
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
319
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
320
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:12:36 +0100
321
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
322
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
323
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
324
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
325
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:13:14 +0100
326
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
327
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
328
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
329
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
330
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:13:25 +0100
331
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
332
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed", "reference_url"=>""}
333
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
334
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
335
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:14:28 +0100
336
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
337
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
338
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
339
- Completed 500 Internal Server Error in 0ms (Allocations: 274)
340
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:14:28 +0100
157
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
158
+ Did you mean? amount
159
+ action
160
+ controller
161
+ return_url
162
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
163
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
164
+ Started POST "/defra_ruby_mocks/govpay/oosjwc2iq9spys1h96bui0oxwl/refunds" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
165
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
166
+ Started GET "/defra_ruby_mocks/govpay/payments/aw52grqu9luhu4ggsal80qfj13" for 127.0.0.1 at 2023-05-10 18:38:33 +0100
167
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:38:35 +0100
168
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:38:35 +0100
169
+ Processing by DefraRubyMocks::CompanyController#show as HTML
170
+ Parameters: {"id"=>"99999999"}
171
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
172
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.6ms | Allocations: 96)
173
+ Completed 404 Not Found in 2ms (Views: 1.5ms | Allocations: 547)
174
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:38:35 +0100
175
+ Processing by DefraRubyMocks::CompanyController#show as HTML
176
+ Parameters: {"id"=>"05868270"}
177
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
178
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 3.2ms | Allocations: 123)
179
+ Completed 200 OK in 4ms (Views: 3.5ms | Allocations: 623)
180
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:38:35 +0100
181
+ Processing by DefraRubyMocks::CompanyController#show as HTML
182
+ Parameters: {"id"=>"foo"}
183
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
184
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
185
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 254)
186
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:38:35 +0100
187
+ Processing by DefraRubyMocks::CompanyController#show as HTML
188
+ Parameters: {"id"=>"SC247974"}
189
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
190
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
191
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
192
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
193
+ Processing by DefraRubyMocks::CompanyController#show as HTML
194
+ Parameters: {"id"=>"99999999"}
195
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
196
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.0ms | Allocations: 253)
197
+ Completed 404 Not Found in 6ms (Views: 6.1ms | Allocations: 2394)
198
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
199
+ Processing by DefraRubyMocks::CompanyController#show as HTML
200
+ Parameters: {"id"=>"foo"}
201
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
202
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
203
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 254)
204
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
205
+ Processing by DefraRubyMocks::CompanyController#show as HTML
206
+ Parameters: {"id"=>"SC247974"}
207
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
208
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 123)
209
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 632)
210
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
211
+ Processing by DefraRubyMocks::CompanyController#show as HTML
212
+ Parameters: {"id"=>"05868270"}
213
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
214
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
215
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 307)
216
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
217
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
218
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
219
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
220
+ Parameters: {"id"=>"company-no"}
221
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
222
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.6ms | Allocations: 106)
223
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 594)
224
+ Started GET "/defra_ruby_mocks/govpay/payments/zg4ozz7zzsokqazoebf13g3hgt" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
225
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
226
+ Started POST "/defra_ruby_mocks/govpay/8lfq943baagde26wsp042h68gq/refunds" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
227
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
228
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
229
+ Parameters: {"payment_id"=>"0"}
230
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
231
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 96)
232
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
233
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
234
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
235
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 573)
236
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
237
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
341
238
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
342
239
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
343
- MOCKS: Govpay payment creation error: wrong number of arguments (given 3, expected 1)
344
- Completed 500 Internal Server Error in 0ms (Allocations: 213)
345
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:14:55 +0100
240
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
241
+ Did you mean? amount
242
+ action
243
+ controller
244
+ return_url
245
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
246
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
346
247
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
347
248
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
348
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:19:04 +0100
349
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
350
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
351
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:21:41 +0100
249
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 8e34658c-9f68-4f8c-b926-3963d07f57d5) to Test(default) with arguments: "https://your.service.gov.uk/completed"
250
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 772)
251
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:42:58 +0100
352
252
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
353
253
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
354
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:23:11 +0100
254
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 1fc329cd-4499-44ee-9c29-38a37298b5ef) to Test(default) with arguments: "https://your.service.gov.uk/completed"
255
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 373)
256
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
257
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
258
+ Processing by DefraRubyMocks::CompanyController#show as HTML
259
+ Parameters: {"id"=>"99999999"}
260
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
261
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.8ms | Allocations: 253)
262
+ Completed 404 Not Found in 6ms (Views: 6.2ms | Allocations: 2394)
263
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
264
+ Processing by DefraRubyMocks::CompanyController#show as HTML
265
+ Parameters: {"id"=>"foo"}
266
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
267
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
268
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
269
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
270
+ Processing by DefraRubyMocks::CompanyController#show as HTML
271
+ Parameters: {"id"=>"SC247974"}
272
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
273
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.3ms | Allocations: 123)
274
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 632)
275
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
276
+ Processing by DefraRubyMocks::CompanyController#show as HTML
277
+ Parameters: {"id"=>"05868270"}
278
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
279
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
280
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
281
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
282
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
283
+ Parameters: {"id"=>"company-no"}
284
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
285
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 104)
286
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 588)
287
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
288
+ Started POST "/defra_ruby_mocks/govpay/gt4607l9a44yui8korooznk609/refunds" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
289
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
290
+ Started GET "/defra_ruby_mocks/govpay/payments/pv584m9px1fg6s0wm79dqq8zjb" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
291
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
292
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
355
293
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
356
294
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
357
- Completed 200 OK in 9748ms (Views: 0.3ms | Allocations: 7837)
358
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:23:41 +0100
295
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 95e7250f-62b5-46e2-90a5-8b1f1ad2dbff) to Test(default) with arguments: "https://your.service.gov.uk/completed"
296
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 798)
297
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
359
298
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
360
299
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
361
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 173)
362
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
363
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
364
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
365
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
366
- Completed 500 Internal Server Error in 0ms (Allocations: 256)
367
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
368
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
369
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
370
- Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
371
- Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.7ms | Allocations: 620)
372
- Completed 200 OK in 8ms (Views: 7.6ms | Allocations: 2368)
373
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
374
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
375
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
376
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
377
- Completed 302 Found in 0ms (Allocations: 355)
378
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
300
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: a450bc65-915e-4b8c-ac6c-a8a2812d1777) to Test(default) with arguments: "https://your.service.gov.uk/completed"
301
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
302
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
379
303
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
380
304
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
381
305
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -383,95 +307,93 @@ Did you mean? amount
383
307
  action
384
308
  controller
385
309
  return_url
386
- Completed 500 Internal Server Error in 0ms (Allocations: 145)
387
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
388
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
389
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
390
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 89)
391
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
392
- Started GET "/defra_ruby_mocks/govpay/payments/ric3kty39qtf3rbla7wqejd3lx" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
393
- Started POST "/defra_ruby_mocks/govpay/voc44g4wrw0y0w5j42g67rvjue/refunds" for 127.0.0.1 at 2022-05-10 17:23:49 +0100
394
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 17:28:36 +0100
395
- Started POST "/defra_ruby_mocks/govpay/lnwa33urf2gkpc9sje3oq8y7jm/refunds" for 127.0.0.1 at 2022-05-10 17:28:36 +0100
396
- Started GET "/defra_ruby_mocks/govpay/payments/ktm64emr8yq7bl2ye9esod1x73" for 127.0.0.1 at 2022-05-10 17:28:36 +0100
397
- Started GET "/defra_ruby_mocks/govpay/payments/ao0bxg6gbs1p2b8cmduc7iafum" for 127.0.0.1 at 2022-05-10 17:28:44 +0100
398
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-10 17:28:44 +0100
399
- Started POST "/defra_ruby_mocks/govpay/a7e7o678oglvaluy7ocnqpek91/refunds" for 127.0.0.1 at 2022-05-10 17:28:44 +0100
400
- Started GET "/" for 127.0.0.1 at 2022-05-10 17:42:56 +0100
401
- Started GET "/" for 127.0.0.1 at 2022-05-10 17:42:56 +0100
402
- Started GET "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:45:08 +0100
403
- Started GET "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-10 17:45:08 +0100
404
- Started GET "/defra_ruby_mocks/govpay/v1/payments/invalid_id" for 127.0.0.1 at 2022-05-10 17:46:10 +0100
405
- Started GET "/defra_ruby_mocks/govpay/v1/payments/tbc-valid-vs-invalid-mock-API-to-return-200/404" for 127.0.0.1 at 2022-05-10 17:46:49 +0100
406
- Started GET "/defra_ruby_mocks/govpay/v1/payments/invalid_id" for 127.0.0.1 at 2022-05-10 17:46:49 +0100
407
- Started GET "/defra_ruby_mocks/govpay/v1/payments/tbc-valid-vs-invalid-mock-API-to-return-200-or-404" for 127.0.0.1 at 2022-05-10 17:47:07 +0100
408
- Started GET "/defra_ruby_mocks/govpay/v1/payments/invalid_id" for 127.0.0.1 at 2022-05-10 17:47:07 +0100
409
- Started GET "/defra_ruby_mocks/govpay/v1/payments/tbc-valid-vs-invalid-mock-API-to-return-200-or-404" for 127.0.0.1 at 2022-05-10 17:54:20 +0100
410
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
411
- Parameters: {"id"=>"tbc-valid-vs-invalid-mock-API-to-return-200-or-404"}
412
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 168)
413
- Started GET "/defra_ruby_mocks/govpay/v1/payments/invalid_id" for 127.0.0.1 at 2022-05-10 17:54:20 +0100
414
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
415
- Parameters: {"id"=>"invalid_id"}
416
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 84)
417
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 17:55:10 +0100
418
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
419
- Parameters: {"id"=>"12345678901234567890123456"}
420
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 168)
421
- Started GET "/defra_ruby_mocks/govpay/v1/payments/" for 127.0.0.1 at 2022-05-10 17:55:10 +0100
422
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-10 17:55:30 +0100
423
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
424
- Parameters: {"id"=>"0"}
425
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 168)
426
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 17:55:30 +0100
427
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
428
- Parameters: {"id"=>"12345678901234567890123456"}
429
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 84)
430
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-10 17:59:14 +0100
431
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
432
- Parameters: {"id"=>"0"}
433
- MOCKS: Govpay payment details error: undefined method `match' for nil:NilClass
434
- Completed 500 Internal Server Error in 1ms (Allocations: 662)
435
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 17:59:14 +0100
436
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
437
- Parameters: {"id"=>"12345678901234567890123456"}
438
- MOCKS: Govpay payment details error: undefined method `match' for nil:NilClass
439
- Completed 500 Internal Server Error in 0ms (Allocations: 594)
440
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 17:59:30 +0100
441
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
442
- Parameters: {"id"=>"12345678901234567890123456"}
443
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 18:00:17 +0100
444
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
445
- Parameters: {"id"=>"12345678901234567890123456"}
446
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-10 18:00:49 +0100
310
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
311
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:43:32 +0100
447
312
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
448
313
  Parameters: {"payment_id"=>"12345678901234567890123456"}
449
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x00000000005730>
450
- Completed 500 Internal Server Error in 5426ms (Allocations: 10695)
451
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-10 18:00:55 +0100
314
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 569)
315
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:43:33 +0100
452
316
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
453
317
  Parameters: {"payment_id"=>"0"}
454
- Completed 200 OK in 1471ms (Views: 0.2ms | Allocations: 8483)
455
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-10 18:01:09 +0100
318
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
319
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
320
+ Started GET "/defra_ruby_mocks/govpay/payments/yi8pv6wa4asx7p2z0c0y7ijpca" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
321
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
322
+ Started POST "/defra_ruby_mocks/govpay/4ng200t4zsgxeafdgf9vxy1qk3/refunds" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
323
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
324
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
325
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
326
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: be18e4af-b676-4fdb-a05f-f1032309bb61) to Test(default) with arguments: "https://your.service.gov.uk/completed"
327
+ Completed 200 OK in 4ms (Views: 0.4ms | Allocations: 845)
328
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
329
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
330
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
331
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: cc27ebda-69a5-4012-ade7-89c909439fa7) to Test(default) with arguments: "https://your.service.gov.uk/completed"
332
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 372)
333
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
334
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
335
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
336
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
337
+ Did you mean? amount
338
+ action
339
+ controller
340
+ return_url
341
+ Completed 500 Internal Server Error in 1ms (Allocations: 109)
342
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
456
343
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
457
344
  Parameters: {"payment_id"=>"0"}
458
- Completed 200 OK in 60142720ms (Views: 61.4ms | Allocations: 9031)
459
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:43:32 +0100
345
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
346
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
347
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
460
348
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
461
349
  Parameters: {"payment_id"=>"12345678901234567890123456"}
462
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x000000000057a8>
463
- Completed 500 Internal Server Error in 2779ms (Allocations: 10909)
464
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:43:50 +0100
350
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 569)
351
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
352
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
353
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
354
+ Processing by DefraRubyMocks::CompanyController#show as HTML
355
+ Parameters: {"id"=>"99999999"}
356
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
357
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.9ms | Allocations: 254)
358
+ Completed 404 Not Found in 7ms (Views: 6.9ms | Allocations: 2347)
359
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
360
+ Processing by DefraRubyMocks::CompanyController#show as HTML
361
+ Parameters: {"id"=>"05868270"}
362
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
363
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 123)
364
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 633)
365
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
366
+ Processing by DefraRubyMocks::CompanyController#show as HTML
367
+ Parameters: {"id"=>"foo"}
368
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
369
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
370
+ Completed 404 Not Found in 1ms (Views: 0.3ms | Allocations: 254)
371
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
372
+ Processing by DefraRubyMocks::CompanyController#show as HTML
373
+ Parameters: {"id"=>"SC247974"}
374
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
375
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
376
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
377
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
378
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:43:50 +0100
379
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
380
+ Parameters: {"id"=>"company-no"}
381
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
382
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 104)
383
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 588)
384
+ Started GET "/defra_ruby_mocks/govpay/payments/u0idqrd8lshy10edkl3em0w65l" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
385
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
386
+ Started POST "/defra_ruby_mocks/govpay/9pqljk1xdwzqzf4p30jj2jjis4/refunds" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
387
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
465
388
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
466
389
  Parameters: {"payment_id"=>"12345678901234567890123456"}
467
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:49:21 +0100
390
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 644)
391
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
468
392
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
469
- Parameters: {"payment_id"=>"12345678901234567890123456"}
470
- Completed 200 OK in 28476ms (Views: 0.2ms | Allocations: 10993)
471
- Started GET "/defra_ruby_mocks/govpay/payments/bei974pvf6necxz2thqzcayakt" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
472
- Started POST "/defra_ruby_mocks/govpay/5u3m0wq7e8wpnrqjs4bc2rckp3/refunds" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
473
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
474
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
393
+ Parameters: {"payment_id"=>"0"}
394
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
395
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 73)
396
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
475
397
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
476
398
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
477
399
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -479,30 +401,71 @@ Did you mean? amount
479
401
  action
480
402
  controller
481
403
  return_url
482
- Completed 500 Internal Server Error in 0ms (Allocations: 173)
483
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
404
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
405
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
484
406
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
485
407
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
486
- Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 117)
487
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
488
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
489
- Parameters: {"payment_id"=>"0"}
490
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 96)
491
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:50:07 +0100
408
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 66f7e982-eff3-4697-8a71-4acd25c70fd8) to Test(default) with arguments: "https://your.service.gov.uk/completed"
409
+ Completed 200 OK in 4ms (Views: 0.3ms | Allocations: 768)
410
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
411
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
412
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
413
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: e0122144-fa8a-4416-9835-9996786c2c87) to Test(default) with arguments: "https://your.service.gov.uk/completed"
414
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
415
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
416
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
417
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
418
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
419
+ Parameters: {"id"=>"company-no"}
420
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
421
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.2ms | Allocations: 266)
422
+ Completed 200 OK in 8ms (Views: 4.6ms | Allocations: 2411)
423
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
424
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
425
+ Processing by DefraRubyMocks::CompanyController#show as HTML
426
+ Parameters: {"id"=>"foo"}
427
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
428
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
429
+ Completed 404 Not Found in 1ms (Views: 1.3ms | Allocations: 535)
430
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
431
+ Processing by DefraRubyMocks::CompanyController#show as HTML
432
+ Parameters: {"id"=>"SC247974"}
433
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
434
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.5ms | Allocations: 123)
435
+ Completed 200 OK in 1ms (Views: 0.9ms | Allocations: 623)
436
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
437
+ Processing by DefraRubyMocks::CompanyController#show as HTML
438
+ Parameters: {"id"=>"05868270"}
439
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
440
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
441
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
442
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:44:36 +0100
443
+ Processing by DefraRubyMocks::CompanyController#show as HTML
444
+ Parameters: {"id"=>"99999999"}
445
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
446
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
447
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
448
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
449
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
450
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
451
+ Parameters: {"id"=>"company-no"}
452
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
453
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.0ms | Allocations: 265)
454
+ Completed 200 OK in 7ms (Views: 4.4ms | Allocations: 2457)
455
+ Started POST "/defra_ruby_mocks/govpay/2wn5yh4s0os1c184uh3jl7yjt9/refunds" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
456
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
457
+ Started GET "/defra_ruby_mocks/govpay/payments/4vjnrudc9xc5z0u41k64tu1pn2" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
458
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
459
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
492
460
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
493
461
  Parameters: {"payment_id"=>"12345678901234567890123456"}
494
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 95)
495
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
496
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
497
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
498
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
499
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
500
- Started POST "/defra_ruby_mocks/govpay/8q8hsh81weojxxb96nm8uatbp7/refunds" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
501
- Started GET "/defra_ruby_mocks/govpay/payments/jwgad0e4t5ep7w2ikbeg474a00" for 127.0.0.1 at 2022-05-11 10:51:20 +0100
502
- Started POST "/defra_ruby_mocks/govpay/14axyj0nq2f3xqb6aqojd6ki33/refunds" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
503
- Started GET "/defra_ruby_mocks/govpay/payments/3r947d35oiw7n1b79u62pajg8c" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
504
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
505
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
462
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 598)
463
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
464
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
465
+ Parameters: {"payment_id"=>"0"}
466
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
467
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
468
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
506
469
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
507
470
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
508
471
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -510,34 +473,77 @@ Did you mean? amount
510
473
  action
511
474
  controller
512
475
  return_url
513
- Completed 500 Internal Server Error in 0ms (Allocations: 173)
514
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
476
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
477
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
515
478
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
516
479
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
517
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 117)
518
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
480
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 514bfb11-a59e-4a1e-8880-1464b50fb23b) to Test(default) with arguments: "https://your.service.gov.uk/completed"
481
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 769)
482
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
483
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
484
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
485
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 6f3f43d4-06d2-45e8-982f-20eb241e6a0f) to Test(default) with arguments: "https://your.service.gov.uk/completed"
486
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 374)
487
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
488
+ Processing by DefraRubyMocks::CompanyController#show as HTML
489
+ Parameters: {"id"=>"99999999"}
490
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
491
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.6ms | Allocations: 86)
492
+ Completed 404 Not Found in 2ms (Views: 1.8ms | Allocations: 535)
493
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
494
+ Processing by DefraRubyMocks::CompanyController#show as HTML
495
+ Parameters: {"id"=>"05868270"}
496
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
497
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 123)
498
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 623)
499
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
500
+ Processing by DefraRubyMocks::CompanyController#show as HTML
501
+ Parameters: {"id"=>"foo"}
502
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
503
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
504
+ Completed 404 Not Found in 1ms (Views: 0.6ms | Allocations: 254)
505
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
506
+ Processing by DefraRubyMocks::CompanyController#show as HTML
507
+ Parameters: {"id"=>"SC247974"}
508
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
509
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
510
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
511
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:45:53 +0100
512
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:46:43 +0100
513
+ Processing by DefraRubyMocks::CompanyController#show as HTML
514
+ Parameters: {"id"=>"99999999"}
515
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
516
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.0ms | Allocations: 253)
517
+ Completed 404 Not Found in 7ms (Views: 6.6ms | Allocations: 2394)
518
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:46:43 +0100
519
+ Processing by DefraRubyMocks::CompanyController#show as HTML
520
+ Parameters: {"id"=>"05868270"}
521
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
522
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 123)
523
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 633)
524
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:46:43 +0100
525
+ Processing by DefraRubyMocks::CompanyController#show as HTML
526
+ Parameters: {"id"=>"SC247974"}
527
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
528
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
529
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
530
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:46:43 +0100
531
+ Processing by DefraRubyMocks::CompanyController#show as HTML
532
+ Parameters: {"id"=>"foo"}
533
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
534
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
535
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 253)
536
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:46:43 +0100
537
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
519
538
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
520
539
  Parameters: {"payment_id"=>"12345678901234567890123456"}
521
- Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 97)
522
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 10:52:03 +0100
523
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
524
- Parameters: {"payment_id"=>"0"}
525
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x00000000005848>
526
- Completed 500 Internal Server Error in 5ms (Allocations: 2144)
527
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 10:52:20 +0100
528
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
529
- Parameters: {"payment_id"=>"0"}
530
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 10:56:59 +0100
540
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 600)
541
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
531
542
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
532
543
  Parameters: {"payment_id"=>"0"}
533
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x00000000005730>
534
- Completed 422 Unprocessable Entity in 4ms (Allocations: 2205)
535
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:00:06 +0000
536
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
537
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
538
- MOCKS: Govpay payment creation error: undefined method `govpay_domain' for #<DefraRubyMocks::Configuration:0x0000000004f64a88>
539
- Completed 500 Internal Server Error in 15ms (Allocations: 1037)
540
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:00:06 +0000
544
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
545
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
546
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
541
547
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
542
548
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
543
549
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -545,33 +551,58 @@ Did you mean? amount
545
551
  action
546
552
  controller
547
553
  return_url
548
- Completed 500 Internal Server Error in 0ms (Allocations: 112)
549
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:00:24 +0000
550
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
551
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
552
- MOCKS: Govpay payment creation error: undefined method `govpay_domain' for #<DefraRubyMocks::Configuration:0x00000000045131b0>
553
- Completed 500 Internal Server Error in 14ms (Allocations: 1037)
554
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:01:24 +0000
554
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
555
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
555
556
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
556
557
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
557
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:34:42 +0000
558
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
559
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
560
- Completed 200 OK in 2410ms (Views: 0.6ms | Allocations: 15119)
561
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
562
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
563
- Parameters: {"payment_id"=>"12345678901234567890123456"}
564
- Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 181)
565
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
566
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
567
- Parameters: {"payment_id"=>"0"}
568
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x000000000057d0>
569
- Completed 422 Unprocessable Entity in 4ms (Allocations: 2149)
570
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
558
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 9b8e02e1-4ab8-41b8-932b-af780a0f5f46) to Test(default) with arguments: "https://your.service.gov.uk/completed"
559
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 768)
560
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
571
561
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
572
562
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
573
- Completed 200 OK in 10ms (Views: 0.3ms | Allocations: 674)
574
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
563
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 219b918b-bb28-495e-98e5-b83f2f14151c) to Test(default) with arguments: "https://your.service.gov.uk/completed"
564
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 373)
565
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
566
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
567
+ Started POST "/defra_ruby_mocks/govpay/4rcsavoyximxwiro5udfqim2qg/refunds" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
568
+ Started GET "/defra_ruby_mocks/govpay/payments/becjze3cgvabzbwa7p4pn14704" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
569
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
570
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
571
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
572
+ Parameters: {"id"=>"company-no"}
573
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
574
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 108)
575
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 599)
576
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:46:45 +0100
577
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:49:22 +0100
578
+ Processing by DefraRubyMocks::CompanyController#show as HTML
579
+ Parameters: {"id"=>"05868270"}
580
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
581
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.0ms | Allocations: 284)
582
+ Completed 200 OK in 7ms (Views: 4.9ms | Allocations: 2492)
583
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:49:22 +0100
584
+ Processing by DefraRubyMocks::CompanyController#show as HTML
585
+ Parameters: {"id"=>"SC247974"}
586
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
587
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
588
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
589
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:49:22 +0100
590
+ Processing by DefraRubyMocks::CompanyController#show as HTML
591
+ Parameters: {"id"=>"foo"}
592
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
593
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 90)
594
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 540)
595
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:49:23 +0100
596
+ Processing by DefraRubyMocks::CompanyController#show as HTML
597
+ Parameters: {"id"=>"99999999"}
598
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
599
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
600
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
601
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:49:23 +0100
602
+ Started GET "/defra_ruby_mocks/govpay/payments/xph8tej2c5jp3sbgtketusvyim" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
603
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
604
+ Started POST "/defra_ruby_mocks/govpay/5f80vete6dos4tbwu4qh4jefu9/refunds" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
605
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
575
606
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
576
607
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
577
608
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -579,28 +610,101 @@ Did you mean? amount
579
610
  action
580
611
  controller
581
612
  return_url
582
- Completed 500 Internal Server Error in 1ms (Allocations: 112)
583
- Started GET "/defra_ruby_mocks/govpay/payments/xvxw2ye5wtd4vv4sfgqcc0tedf" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
584
- Started POST "/defra_ruby_mocks/govpay/8xo634smyjgv1zrtuk2289vd7f/refunds" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
585
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 16:35:20 +0000
586
- Started GET "/defra_ruby_mocks/govpay/payments/zko15ttmxi8349zj4qat3xifel" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
587
- Started POST "/defra_ruby_mocks/govpay/tsqc9rpgk5z2qaztmut33ggktl/refunds" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
588
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
589
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
613
+ Completed 500 Internal Server Error in 0ms (Allocations: 133)
614
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
615
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
616
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
617
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 6f20a593-c07c-4936-bc1a-4da73e3e6c4b) to Test(default) with arguments: "https://your.service.gov.uk/completed"
618
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 773)
619
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
620
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
621
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
622
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 6db34600-ee9d-4607-a517-d3703397e7f7) to Test(default) with arguments: "https://your.service.gov.uk/completed"
623
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
624
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
590
625
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
591
626
  Parameters: {"payment_id"=>"12345678901234567890123456"}
592
- MOCKS: Govpay payment details error: missing keyword: :return_url
593
- Completed 422 Unprocessable Entity in 10ms (Allocations: 626)
594
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
627
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 571)
628
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
595
629
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
596
630
  Parameters: {"payment_id"=>"0"}
597
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x000000000057d0>
598
- Completed 422 Unprocessable Entity in 4ms (Allocations: 2144)
599
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
631
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
632
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
633
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
634
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
635
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
636
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 126)
637
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
638
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
639
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
640
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 126)
641
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
642
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:49:24 +0100
643
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
644
+ Parameters: {"id"=>"company-no"}
645
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
646
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 108)
647
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 599)
648
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
649
+ Processing by DefraRubyMocks::CompanyController#show as HTML
650
+ Parameters: {"id"=>"99999999"}
651
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
652
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.0ms | Allocations: 253)
653
+ Completed 404 Not Found in 7ms (Views: 6.4ms | Allocations: 2394)
654
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
655
+ Processing by DefraRubyMocks::CompanyController#show as HTML
656
+ Parameters: {"id"=>"05868270"}
657
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
658
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 123)
659
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 633)
660
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
661
+ Processing by DefraRubyMocks::CompanyController#show as HTML
662
+ Parameters: {"id"=>"SC247974"}
663
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
664
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
665
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
666
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
667
+ Processing by DefraRubyMocks::CompanyController#show as HTML
668
+ Parameters: {"id"=>"foo"}
669
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
670
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
671
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 253)
672
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
673
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
674
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
675
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
676
+ Parameters: {"id"=>"company-no"}
677
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
678
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 106)
679
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 594)
680
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
681
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
682
+ Parameters: {"payment_id"=>"0"}
683
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
684
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 96)
685
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
686
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
687
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
688
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 573)
689
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
690
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
691
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
692
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 126)
693
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
694
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
695
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
696
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 126)
697
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
600
698
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
601
699
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
602
- Completed 200 OK in 7ms (Views: 0.3ms | Allocations: 594)
603
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:43:35 +0000
700
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 2e6526b2-f8c7-435b-97f2-fafa006c4a90) to Test(default) with arguments: "https://your.service.gov.uk/completed"
701
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 771)
702
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
703
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
704
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
705
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 96da2345-0245-4069-820c-107599f11f59) to Test(default) with arguments: "https://your.service.gov.uk/completed"
706
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 373)
707
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
604
708
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
605
709
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
606
710
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -608,12 +712,55 @@ Did you mean? amount
608
712
  action
609
713
  controller
610
714
  return_url
611
- Completed 500 Internal Server Error in 0ms (Allocations: 112)
612
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:45:08 +0000
613
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
614
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
615
- Completed 200 OK in 11ms (Views: 0.3ms | Allocations: 759)
616
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 16:45:08 +0000
715
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
716
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
717
+ Started GET "/defra_ruby_mocks/govpay/payments/xnqjymx89ze86yl137cblgbzhd" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
718
+ Started POST "/defra_ruby_mocks/govpay/7bi36ppqz0a44eobg66k0oy9mu/refunds" for 127.0.0.1 at 2023-05-10 18:50:20 +0100
719
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:53:21 +0100
720
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-10 18:53:21 +0100
721
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
722
+ Parameters: {"id"=>"company-no"}
723
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
724
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.2ms | Allocations: 265)
725
+ Completed 200 OK in 8ms (Views: 5.0ms | Allocations: 2458)
726
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
727
+ Processing by DefraRubyMocks::CompanyController#show as HTML
728
+ Parameters: {"id"=>"99999999"}
729
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
730
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.7ms | Allocations: 96)
731
+ Completed 404 Not Found in 2ms (Views: 1.6ms | Allocations: 548)
732
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
733
+ Processing by DefraRubyMocks::CompanyController#show as HTML
734
+ Parameters: {"id"=>"foo"}
735
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
736
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
737
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
738
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
739
+ Processing by DefraRubyMocks::CompanyController#show as HTML
740
+ Parameters: {"id"=>"SC247974"}
741
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
742
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.7ms | Allocations: 123)
743
+ Completed 200 OK in 2ms (Views: 1.1ms | Allocations: 622)
744
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
745
+ Processing by DefraRubyMocks::CompanyController#show as HTML
746
+ Parameters: {"id"=>"05868270"}
747
+ Rendering /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
748
+ Rendered /Users/pauldoyle/dev/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
749
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 307)
750
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
751
+ Started GET "/defra_ruby_mocks/govpay/payments/6li9nfwde3lxnf6sfw2qxctzfi" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
752
+ Started POST "/defra_ruby_mocks/govpay/gvgyi6hvvaro6yxg5rn4f1zpfw/refunds" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
753
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
754
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
755
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
756
+ Parameters: {"payment_id"=>"0"}
757
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
758
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 96)
759
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
760
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
761
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
762
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 573)
763
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
617
764
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
618
765
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
619
766
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -621,31 +768,91 @@ Did you mean? amount
621
768
  action
622
769
  controller
623
770
  return_url
624
- Completed 500 Internal Server Error in 0ms (Allocations: 117)
625
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 16:45:08 +0000
626
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
627
- Parameters: {"payment_id"=>"12345678901234567890123456"}
628
- MOCKS: Govpay payment details error: missing keyword: :return_url
629
- Completed 422 Unprocessable Entity in 649050ms (Allocations: 8135)
630
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 17:29:01 +0000
631
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
632
- Parameters: {"payment_id"=>"0"}
633
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x00000000005870>
634
- Completed 422 Unprocessable Entity in 102036ms (Allocations: 15000)
635
- Started POST "/defra_ruby_mocks/govpay/ywzxalmaklbzmzk7y9abvzpvt1/refunds" for 127.0.0.1 at 2022-05-11 17:30:43 +0000
636
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 17:30:43 +0000
637
- Started GET "/defra_ruby_mocks/govpay/payments/dztk1j7yevd38qd35i44ljpex2" for 127.0.0.1 at 2022-05-11 17:30:43 +0000
638
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:30:58 +0000
771
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
772
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
773
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
774
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
775
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 0b7fe63c-5b48-47e8-8882-d1989855edf1) to Test(default) with arguments: "https://your.service.gov.uk/completed"
776
+ Completed 200 OK in 4ms (Views: 0.3ms | Allocations: 772)
777
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
778
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
779
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
780
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 70c9290f-4ab7-4063-9340-8659a3349b90) to Test(default) with arguments: "https://your.service.gov.uk/completed"
781
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 372)
782
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
783
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
784
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
785
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 128)
786
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-10 18:53:22 +0100
787
+ Processing by DefraRubyMocks::GovpayController#refund as HTML
788
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
789
+ MOCKS: Govpay refund error: Invalid refund amount available
790
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
791
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
792
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
793
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
794
+ Parameters: {"id"=>"company-no"}
795
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
796
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.7ms | Allocations: 265)
797
+ Completed 200 OK in 10ms (Views: 6.6ms | Allocations: 2457)
798
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
799
+ Processing by DefraRubyMocks::CompanyController#show as HTML
800
+ Parameters: {"id"=>"99999999"}
801
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
802
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
803
+ Completed 404 Not Found in 2ms (Views: 1.3ms | Allocations: 536)
804
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
805
+ Processing by DefraRubyMocks::CompanyController#show as HTML
806
+ Parameters: {"id"=>"05868270"}
807
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
808
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.7ms | Allocations: 125)
809
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 629)
810
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
811
+ Processing by DefraRubyMocks::CompanyController#show as HTML
812
+ Parameters: {"id"=>"foo"}
813
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
814
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
815
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 254)
816
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
817
+ Processing by DefraRubyMocks::CompanyController#show as HTML
818
+ Parameters: {"id"=>"SC247974"}
819
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
820
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
821
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
822
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 13:59:39 +0100
823
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
824
+ Started POST "/defra_ruby_mocks/govpay/yxtm98tnf6nnj512tgb5odc2jm/refunds" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
825
+ Started GET "/defra_ruby_mocks/govpay/payments/y7ey65at5lrl2tphqc9kkcl5k1" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
826
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
827
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
639
828
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
640
829
  Parameters: {"payment_id"=>"12345678901234567890123456"}
641
- MOCKS: Govpay payment details error: missing keyword: :return_url
642
- Completed 422 Unprocessable Entity in 19555ms (Allocations: 16551)
643
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 17:31:17 +0000
830
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 598)
831
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
644
832
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
645
833
  Parameters: {"payment_id"=>"0"}
646
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x000000000057d0>
647
- Completed 422 Unprocessable Entity in 12714ms (Allocations: 18517)
648
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 17:31:30 +0000
834
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
835
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
836
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
837
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
838
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
839
+ MOCKS: Govpay refund error: Invalid refund amount available
840
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
841
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
842
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
843
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
844
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 132)
845
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
846
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
847
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
848
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 9a4a142e-3fde-4daa-8050-62ce50f0d488) to Test(default) with arguments: "https://your.service.gov.uk/completed"
849
+ Completed 200 OK in 3ms (Views: 0.2ms | Allocations: 510)
850
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
851
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
852
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
853
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 02e4943e-fac0-431c-999c-849986e32240) to Test(default) with arguments: "https://your.service.gov.uk/completed"
854
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 377)
855
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 13:59:41 +0100
649
856
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
650
857
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
651
858
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -653,179 +860,81 @@ Did you mean? amount
653
860
  action
654
861
  controller
655
862
  return_url
656
- Completed 500 Internal Server Error in 1ms (Allocations: 113)
657
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 17:31:30 +0000
658
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
659
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
660
- Completed 200 OK in 11ms (Views: 0.4ms | Allocations: 597)
661
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 17:31:30 +0000
662
- Started POST "/defra_ruby_mocks/govpay/qnoxiygf5m92s50te4iq1je1zd/refunds" for 127.0.0.1 at 2022-05-11 17:31:30 +0000
663
- Started GET "/defra_ruby_mocks/govpay/payments/khzpckxako99ywxxxv8hfa73pt" for 127.0.0.1 at 2022-05-11 17:31:30 +0000
664
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:31:43 +0000
665
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
666
- Parameters: {"payment_id"=>"12345678901234567890123456"}
667
- MOCKS: Govpay payment details error: missing keyword: :return_url
668
- Completed 422 Unprocessable Entity in 52179ms (Allocations: 17869)
669
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:32:59 +0000
670
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
671
- Parameters: {"payment_id"=>"12345678901234567890123456"}
672
- MOCKS: Govpay payment details error: missing keyword: :return_url
673
- Completed 422 Unprocessable Entity in 215451ms (Allocations: 35635)
674
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:37:15 +0000
675
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
676
- Parameters: {"payment_id"=>"12345678901234567890123456"}
677
- MOCKS: Govpay payment details error: uninitialized constant DefraRubyMocks::GovpayGetPaymentService::TIme
678
- Did you mean? Time
679
- Completed 422 Unprocessable Entity in 10096ms (Allocations: 11866)
680
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:37:30 +0000
681
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
682
- Parameters: {"payment_id"=>"12345678901234567890123456"}
683
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:37:54 +0000
684
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
685
- Parameters: {"payment_id"=>"12345678901234567890123456"}
686
- MOCKS: Govpay payment details error: undefined method `-' for nil:NilClass
687
- Completed 422 Unprocessable Entity in 2201ms (Allocations: 10648)
688
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:38:00 +0000
689
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
690
- Parameters: {"payment_id"=>"12345678901234567890123456"}
691
- MOCKS: Govpay payment details error: undefined method `-' for nil:NilClass
692
- Completed 422 Unprocessable Entity in 11412ms (Allocations: 39702)
693
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:38:44 +0000
694
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
695
- Parameters: {"payment_id"=>"12345678901234567890123456"}
696
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:41:20 +0000
697
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
698
- Parameters: {"payment_id"=>"12345678901234567890123456"}
699
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:43:08 +0000
700
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
701
- Parameters: {"payment_id"=>"12345678901234567890123456"}
702
- MOCKS: Govpay payment details error: undefined local variable or method `return_url' for #<DefraRubyMocks::GovpayGetPaymentService:0x0000000002ca6000>
703
- Did you mean? return
704
- Completed 422 Unprocessable Entity in 4514ms (Allocations: 12297)
705
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:44:29 +0000
706
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
707
- Parameters: {"payment_id"=>"12345678901234567890123456"}
708
- Completed 200 OK in 11ms (Views: 0.3ms | Allocations: 678)
709
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:45:01 +0000
710
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
711
- Parameters: {"payment_id"=>"12345678901234567890123456"}
712
- Completed 200 OK in 11ms (Views: 0.3ms | Allocations: 679)
713
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
863
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
864
+ Started GET "/defra_ruby_mocks/govpay/payments/vlczke29g127umdddhhbue16hz" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
865
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
866
+ Started POST "/defra_ruby_mocks/govpay/82sefgnjks2j6da14cfe36ry7u/refunds" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
867
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
714
868
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
715
869
  Parameters: {"payment_id"=>"12345678901234567890123456"}
716
- Completed 200 OK in 11ms (Views: 0.3ms | Allocations: 679)
717
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
870
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 644)
871
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
718
872
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
719
873
  Parameters: {"payment_id"=>"0"}
720
- MOCKS: Govpay payment details error: undefined method `StandardError' for #<DefraRubyMocks::GovpayController:0x000000000057d0>
721
- Completed 422 Unprocessable Entity in 4ms (Allocations: 2149)
722
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
874
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
875
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 73)
876
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
723
877
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
724
878
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
725
- Completed 200 OK in 7ms (Views: 0.2ms | Allocations: 557)
726
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
879
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: ec0c2714-c95d-4a5a-a7ed-817775b07d6c) to Test(default) with arguments: "https://your.service.gov.uk/completed"
880
+ Completed 200 OK in 5ms (Views: 0.3ms | Allocations: 1137)
881
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
727
882
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
728
- Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
729
- MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
730
- Did you mean? amount
731
- action
732
- controller
733
- return_url
734
- Completed 500 Internal Server Error in 0ms (Allocations: 112)
735
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
736
- Started GET "/defra_ruby_mocks/govpay/payments/bpej2d9j4tpa5b3802xizrp7su" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
737
- Started POST "/defra_ruby_mocks/govpay/w1qped81o2fup4e57tfcp8n6kd/refunds" for 127.0.0.1 at 2022-05-11 17:45:17 +0000
738
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-05-11 18:17:47 +0000
739
- Started GET "/defra_ruby_mocks/govpay/payments/z5hyh41e9rwrk0abcfcl4xh4nu" for 127.0.0.1 at 2022-05-11 18:17:47 +0000
740
- Started POST "/defra_ruby_mocks/govpay/m04iah4o3e3lds6szu4010wt6o/refunds" for 127.0.0.1 at 2022-05-11 18:17:47 +0000
741
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 18:17:48 +0000
883
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
884
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 0b03d786-d1a4-40b5-83cd-d017eea0880e) to Test(default) with arguments: "https://your.service.gov.uk/completed"
885
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 377)
886
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
742
887
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
743
888
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
744
- >>>>>>>>> create_payment
745
889
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
746
890
  Did you mean? amount
747
891
  action
748
892
  controller
749
893
  return_url
750
- Completed 500 Internal Server Error in 0ms (Allocations: 176)
751
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-05-11 18:17:48 +0000
752
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
753
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
754
- >>>>>>>>> create_payment
755
- >>>>>>>>> valid params
756
- >>>>>>>>> config: #<DefraRubyMocks::Configuration:0x0000000005566a08>
757
- >>>>>>>>> config govpay_domain: http://localhost:3000/defra_ruby_mocks
758
- Completed 200 OK in 11ms (Views: 0.4ms | Allocations: 730)
759
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-05-11 18:17:48 +0000
760
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
761
- Parameters: {"payment_id"=>"12345678901234567890123456"}
762
- Completed 200 OK in 7ms (Views: 0.3ms | Allocations: 478)
763
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-05-11 18:17:48 +0000
764
- Processing by DefraRubyMocks::GovpayController#payment_details as HTML
765
- Parameters: {"payment_id"=>"0"}
766
- MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
767
- Completed 422 Unprocessable Entity in 0ms (Allocations: 84)
768
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
894
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
895
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
896
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
897
+ Parameters: {"id"=>"company-no"}
898
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
899
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.5ms | Allocations: 266)
900
+ Completed 200 OK in 8ms (Views: 5.3ms | Allocations: 2413)
901
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
902
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
769
903
  Processing by DefraRubyMocks::CompanyController#show as HTML
770
904
  Parameters: {"id"=>"05868270"}
771
905
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
772
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 2.1ms | Allocations: 284)
773
- Completed 200 OK in 13ms (Views: 7.7ms | Allocations: 2492)
774
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
906
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.7ms | Allocations: 123)
907
+ Completed 200 OK in 3ms (Views: 1.1ms | Allocations: 1006)
908
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
775
909
  Processing by DefraRubyMocks::CompanyController#show as HTML
776
- Parameters: {"id"=>"foo"}
910
+ Parameters: {"id"=>"99999999"}
777
911
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
778
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.0ms | Allocations: 90)
779
- Completed 404 Not Found in 2ms (Views: 1.9ms | Allocations: 541)
780
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
912
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
913
+ Completed 404 Not Found in 1ms (Views: 1.3ms | Allocations: 535)
914
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
781
915
  Processing by DefraRubyMocks::CompanyController#show as HTML
782
916
  Parameters: {"id"=>"SC247974"}
783
917
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
784
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
785
- Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
786
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
918
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
919
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
920
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
787
921
  Processing by DefraRubyMocks::CompanyController#show as HTML
788
- Parameters: {"id"=>"99999999"}
922
+ Parameters: {"id"=>"foo"}
789
923
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
790
924
  Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
791
- Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 253)
792
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
793
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
794
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
795
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
796
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
797
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
798
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
799
- Completed 302 Found in 1ms (Allocations: 410)
800
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
801
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
802
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
803
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
804
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.1ms | Allocations: 457)
805
- Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 1203)
806
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
807
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
808
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
809
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
810
- Completed 500 Internal Server Error in 0ms (Allocations: 178)
811
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
812
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
813
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
814
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 1.0ms | Allocations: 162)
815
- Completed 200 OK in 3ms (Views: 2.5ms | Allocations: 1233)
816
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
817
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
818
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
819
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.0ms | Allocations: 141)
820
- Completed 200 OK in 2ms (Views: 1.9ms | Allocations: 644)
821
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
822
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
823
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
824
- Completed 500 Internal Server Error in 1ms (Allocations: 611)
825
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
826
- Started POST "/defra_ruby_mocks/govpay/74ban3yfopkg31rd3ob7q2yrhv/refunds" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
827
- Started GET "/defra_ruby_mocks/govpay/payments/viptodw8himzy30qiotwuxgsqf" for 127.0.0.1 at 2022-06-22 15:27:15 +0100
828
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
925
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
926
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:10:16 +0100
927
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
928
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
929
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
930
+ Parameters: {"id"=>"company-no"}
931
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
932
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.8ms | Allocations: 265)
933
+ Completed 200 OK in 6ms (Views: 3.9ms | Allocations: 2457)
934
+ Started GET "/defra_ruby_mocks/govpay/payments/6jecplgbjum1288upmz5omuyi3" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
935
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
936
+ Started POST "/defra_ruby_mocks/govpay/9g1266k4ycaoc8rpa98cr7mh6h/refunds" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
937
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
829
938
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
830
939
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
831
940
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -833,43 +942,95 @@ Did you mean? amount
833
942
  action
834
943
  controller
835
944
  return_url
836
- ["/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:507:in `require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `block in require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `require'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:27:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:8:in `create_payment'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:22:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:51:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
837
- Completed 500 Internal Server Error in 1ms (Allocations: 427)
838
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
945
+ Completed 500 Internal Server Error in 0ms (Allocations: 133)
946
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
947
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
948
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
949
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: d5c679f4-c425-411c-8bd5-76ba0e5f2f85) to Test(default) with arguments: "https://your.service.gov.uk/completed"
950
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 1006)
951
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
839
952
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
840
953
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
841
- Completed 200 OK in 4ms (Views: 0.4ms | Allocations: 601)
842
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
954
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 1556eed6-a175-49ff-b04f-cb1448bd1ec0) to Test(default) with arguments: "https://your.service.gov.uk/completed"
955
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
956
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
957
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
958
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
959
+ MOCKS: Govpay refund error: Invalid refund amount available
960
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
961
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
962
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
963
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
964
+ MOCKS: Govpay refund error: uninitialized constant DefraRubyMocks::GovpayController::GovpayRefundService
965
+ Did you mean? DefraRubyMocks::GovpayCreatePaymentService
966
+ Completed 500 Internal Server Error in 4ms (Allocations: 2553)
967
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
843
968
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
844
969
  Parameters: {"payment_id"=>"0"}
845
970
  MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
846
- Completed 422 Unprocessable Entity in 0ms (Allocations: 84)
847
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
971
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 69)
972
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
848
973
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
849
974
  Parameters: {"payment_id"=>"12345678901234567890123456"}
850
- Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 502)
851
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
975
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 571)
976
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
977
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
978
+ Processing by DefraRubyMocks::CompanyController#show as HTML
979
+ Parameters: {"id"=>"SC247974"}
980
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
981
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 125)
982
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 1011)
983
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
984
+ Processing by DefraRubyMocks::CompanyController#show as HTML
985
+ Parameters: {"id"=>"foo"}
986
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
987
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
988
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 535)
989
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
990
+ Processing by DefraRubyMocks::CompanyController#show as HTML
991
+ Parameters: {"id"=>"99999999"}
992
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
993
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
994
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
995
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
996
+ Processing by DefraRubyMocks::CompanyController#show as HTML
997
+ Parameters: {"id"=>"05868270"}
998
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
999
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1000
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
1001
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:12:57 +0100
1002
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
852
1003
  Processing by DefraRubyMocks::CompanyController#officers as HTML
853
1004
  Parameters: {"id"=>"company-no"}
854
1005
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
855
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.1ms | Allocations: 105)
856
- Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 591)
857
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-22 15:27:18 +0100
858
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1006
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.8ms | Allocations: 265)
1007
+ Completed 200 OK in 6ms (Views: 4.2ms | Allocations: 2457)
1008
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1009
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
859
1010
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
860
1011
  Parameters: {"payment_id"=>"0"}
861
1012
  MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
862
- ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:34:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:19:in `payment_details'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:16:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:71:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
863
- Completed 422 Unprocessable Entity in 2ms (Allocations: 418)
864
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1013
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 97)
1014
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
865
1015
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
866
1016
  Parameters: {"payment_id"=>"12345678901234567890123456"}
867
- Completed 200 OK in 3ms (Views: 1.4ms | Allocations: 546)
868
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
869
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
870
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
871
- Completed 200 OK in 3ms (Views: 0.4ms | Allocations: 549)
872
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1017
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 575)
1018
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1019
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1020
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1021
+ Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 387)
1022
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1023
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1024
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1025
+ MOCKS: Govpay refund error: uninitialized constant DefraRubyMocks::GovpayController::GovpayCreateRefundService
1026
+ Did you mean? DefraRubyMocks::GovpayRefundDetailsService
1027
+ Completed 500 Internal Server Error in 4ms (Allocations: 2572)
1028
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1029
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1030
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1031
+ MOCKS: Govpay refund error: Invalid refund amount available
1032
+ Completed 500 Internal Server Error in 0ms (Allocations: 73)
1033
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
873
1034
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
874
1035
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
875
1036
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -877,181 +1038,196 @@ Did you mean? amount
877
1038
  action
878
1039
  controller
879
1040
  return_url
880
- ["/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:507:in `require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `block in require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `require'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:28:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:8:in `create_payment'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:22:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:50:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
881
- Completed 500 Internal Server Error in 1ms (Allocations: 394)
882
- Started POST "/defra_ruby_mocks/govpay/07d8o1e1ejgdp8w41c28p1s68l/refunds" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
883
- Started GET "/defra_ruby_mocks/govpay/payments/hgzhogvwpd3owen4kv5vp2v7bh" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
884
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
885
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
886
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
887
- Processing by DefraRubyMocks::CompanyController#show as HTML
888
- Parameters: {"id"=>"99999999"}
889
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
890
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 3.5ms | Allocations: 254)
891
- Completed 404 Not Found in 38ms (Views: 37.3ms | Allocations: 2342)
892
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1041
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
1042
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1043
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1044
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1045
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: e0587555-ded8-42be-af86-30c7e27c83d5) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1046
+ Completed 200 OK in 4ms (Views: 0.2ms | Allocations: 1137)
1047
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1048
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1049
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1050
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: e91e6492-fc34-42f3-8729-de17b1317d61) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1051
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 376)
1052
+ Started POST "/defra_ruby_mocks/govpay/i0wms4vo8rvmxbqw3x0r5uqi4n/refunds" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1053
+ Started GET "/defra_ruby_mocks/govpay/payments/0rveyc2l2cv23fn7do0vomp4g5" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1054
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1055
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
893
1056
  Processing by DefraRubyMocks::CompanyController#show as HTML
894
1057
  Parameters: {"id"=>"foo"}
895
1058
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
896
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.1ms | Allocations: 10)
897
- Completed 404 Not Found in 1ms (Views: 0.5ms | Allocations: 254)
898
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1059
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 90)
1060
+ Completed 404 Not Found in 2ms (Views: 1.1ms | Allocations: 923)
1061
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
899
1062
  Processing by DefraRubyMocks::CompanyController#show as HTML
900
1063
  Parameters: {"id"=>"SC247974"}
901
1064
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
902
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 2.0ms | Allocations: 123)
903
- Completed 200 OK in 3ms (Views: 2.5ms | Allocations: 632)
904
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1065
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.3ms | Allocations: 123)
1066
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 623)
1067
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
905
1068
  Processing by DefraRubyMocks::CompanyController#show as HTML
906
1069
  Parameters: {"id"=>"05868270"}
907
1070
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
908
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
909
- Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 307)
910
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
911
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
912
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
913
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
914
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
915
- Completed 500 Internal Server Error in 1ms (Allocations: 656)
916
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
917
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
918
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
919
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 18.3ms | Allocations: 147)
920
- Completed 200 OK in 21ms (Views: 20.7ms | Allocations: 1268)
921
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
922
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
923
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
924
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 2.0ms | Allocations: 156)
925
- Completed 200 OK in 4ms (Views: 3.2ms | Allocations: 716)
926
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
927
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
928
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
929
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
930
- Completed 302 Found in 1ms (Allocations: 357)
931
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
932
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
933
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
934
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
935
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.9ms | Allocations: 457)
936
- Completed 200 OK in 4ms (Views: 3.0ms | Allocations: 1096)
937
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
938
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
939
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
940
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
941
- Completed 500 Internal Server Error in 0ms (Allocations: 174)
942
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
1071
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1072
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1073
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1074
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1075
+ Parameters: {"id"=>"99999999"}
1076
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1077
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1078
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1079
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:14:21 +0100
1080
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:14:50 +0100
1081
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1082
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1083
+ MOCKS: Govpay refund error: uninitialized constant DefraRubyMocks::GovpayController::GovpayCreateRefundService
1084
+ Completed 500 Internal Server Error in 4ms (Allocations: 2532)
1085
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:16:06 +0100
1086
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1087
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1088
+ MOCKS: Govpay refund error: uninitialized constant DefraRubyMocks::GovpayController::GovpayCreateRefundService
1089
+ Completed 500 Internal Server Error in 4089ms (Allocations: 4972)
1090
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:16:20 +0100
1091
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1092
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1093
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:17:05 +0100
1094
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1095
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1096
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 559)
1097
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
943
1098
  Processing by DefraRubyMocks::CompanyController#officers as HTML
944
1099
  Parameters: {"id"=>"company-no"}
945
1100
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
946
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 19.0ms | Allocations: 104)
947
- Completed 200 OK in 21ms (Views: 19.7ms | Allocations: 589)
948
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 10:18:20 +0100
949
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:19:51 +0100
950
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
951
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
952
- Completed 200 OK in 4ms (Views: 0.5ms | Allocations: 757)
953
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:24:32 +0100
1101
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.8ms | Allocations: 265)
1102
+ Completed 200 OK in 6ms (Views: 3.8ms | Allocations: 2457)
1103
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1104
+ Started POST "/defra_ruby_mocks/govpay/74l25ys655u3tldyi7qa6lix4g/refunds" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1105
+ Started GET "/defra_ruby_mocks/govpay/payments/g3a2yxpjjct9hl8434l5s2ygxk" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1106
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1107
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
954
1108
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
955
1109
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
956
- Completed 200 OK in 4ms (Views: 0.4ms | Allocations: 757)
957
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:24:56 +0100
1110
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 115fa74e-9909-436d-a984-e1d55ec0870d) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1111
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 797)
1112
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
958
1113
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
959
1114
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
960
- Completed 200 OK in 3ms (Views: 0.4ms | Allocations: 758)
961
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:25:33 +0100
1115
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 35b498f5-d8f8-4583-88d1-7161e7b7e5a4) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1116
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 373)
1117
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
962
1118
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
963
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
964
- Completed 200 OK in 4ms (Views: 0.5ms | Allocations: 756)
965
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:25:44 +0100
966
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
967
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
968
- Completed 200 OK in 3ms (Views: 0.4ms | Allocations: 757)
969
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:26:38 +0100
970
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
971
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
972
- Completed 200 OK in 4ms (Views: 0.4ms | Allocations: 756)
973
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
974
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
975
- Processing by DefraRubyMocks::CompanyController#officers as HTML
976
- Parameters: {"id"=>"company-no"}
977
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
978
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.2ms | Allocations: 265)
979
- Completed 200 OK in 8ms (Views: 5.1ms | Allocations: 2457)
980
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
981
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
982
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
983
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
984
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 458)
985
- Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1253)
986
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
987
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
988
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
989
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
990
- Completed 302 Found in 0ms (Allocations: 355)
991
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
992
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
993
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
994
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
995
- Completed 500 Internal Server Error in 0ms (Allocations: 178)
996
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
997
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
998
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
999
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.7ms | Allocations: 162)
1000
- Completed 200 OK in 3ms (Views: 2.2ms | Allocations: 1233)
1001
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1002
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1003
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1004
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 141)
1005
- Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 644)
1006
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1007
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1008
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1009
- Completed 500 Internal Server Error in 1ms (Allocations: 610)
1010
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1011
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1012
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1013
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1014
- Processing by DefraRubyMocks::CompanyController#show as HTML
1015
- Parameters: {"id"=>"05868270"}
1016
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1017
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 122)
1018
- Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 622)
1019
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1119
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1120
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1121
+ Did you mean? amount
1122
+ action
1123
+ controller
1124
+ return_url
1125
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
1126
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1127
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1128
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1129
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 139)
1130
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1131
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1132
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1133
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 132)
1134
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1135
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1136
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1137
+ MOCKS: Govpay refund error: Invalid refund amount available
1138
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
1139
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1140
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1141
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1142
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 569)
1143
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1144
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1145
+ Parameters: {"payment_id"=>"0"}
1146
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1147
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
1148
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1149
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1020
1150
  Processing by DefraRubyMocks::CompanyController#show as HTML
1021
1151
  Parameters: {"id"=>"99999999"}
1022
1152
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1023
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
1024
- Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 535)
1025
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1153
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
1154
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 535)
1155
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1026
1156
  Processing by DefraRubyMocks::CompanyController#show as HTML
1027
1157
  Parameters: {"id"=>"SC247974"}
1028
1158
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1029
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1030
- Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
1031
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1159
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.3ms | Allocations: 123)
1160
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 623)
1161
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1032
1162
  Processing by DefraRubyMocks::CompanyController#show as HTML
1033
1163
  Parameters: {"id"=>"foo"}
1034
1164
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1035
1165
  Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1036
- Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 253)
1037
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1038
- Started POST "/defra_ruby_mocks/govpay/ejo1djxdixj5qlcz6ao68mk8t1/refunds" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1039
- Started GET "/defra_ruby_mocks/govpay/payments/fbqme1t0xcxl5msy7i7fa8h5m6" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1040
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1166
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 254)
1167
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-15 14:17:11 +0100
1168
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1169
+ Parameters: {"id"=>"05868270"}
1170
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1171
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1172
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
1173
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 19:09:27 +0100
1174
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 19:09:27 +0100
1175
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1176
+ Parameters: {"id"=>"company-no"}
1177
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1178
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 2.8ms | Allocations: 265)
1179
+ Completed 200 OK in 14ms (Views: 9.3ms | Allocations: 2457)
1180
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1181
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1182
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1183
+ Parameters: {"id"=>"foo"}
1184
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1185
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.9ms | Allocations: 102)
1186
+ Completed 404 Not Found in 2ms (Views: 2.0ms | Allocations: 566)
1187
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1188
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1189
+ Parameters: {"id"=>"SC247974"}
1190
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1191
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.1ms | Allocations: 135)
1192
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 647)
1193
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1194
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1195
+ Parameters: {"id"=>"99999999"}
1196
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1197
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.1ms | Allocations: 22)
1198
+ Completed 404 Not Found in 1ms (Views: 0.5ms | Allocations: 278)
1199
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1200
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1201
+ Parameters: {"id"=>"05868270"}
1202
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1203
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 24)
1204
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 330)
1205
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1206
+ Started GET "/defra_ruby_mocks/govpay/payments/pv1s0mmvoay5x0u8q69f9cxe3z" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1207
+ Started POST "/defra_ruby_mocks/govpay/d7rzitdnf2agvz7sfg54wnyumm/refunds" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1208
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1209
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1210
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1211
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 192)
1212
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1213
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1214
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1215
+ MOCKS: Govpay refund error: Invalid refund amount available
1216
+ Completed 500 Internal Server Error in 0ms (Allocations: 80)
1217
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1218
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1219
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1220
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 171)
1221
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1041
1222
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1042
1223
  Parameters: {"payment_id"=>"12345678901234567890123456"}
1043
- Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 551)
1044
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1224
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 573)
1225
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1045
1226
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1046
1227
  Parameters: {"payment_id"=>"0"}
1047
1228
  MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1048
- ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:34:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:19:in `payment_details'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:16:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:70:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1049
- Completed 422 Unprocessable Entity in 1ms (Allocations: 357)
1050
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1051
- Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1052
- Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1053
- Completed 200 OK in 2ms (Views: 0.2ms | Allocations: 548)
1054
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 10:26:54 +0100
1229
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
1230
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1055
1231
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1056
1232
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1057
1233
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -1059,51 +1235,36 @@ Did you mean? amount
1059
1235
  action
1060
1236
  controller
1061
1237
  return_url
1062
- ["/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:507:in `require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `block in require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `require'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:28:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:8:in `create_payment'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:22:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:49:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1063
- Completed 500 Internal Server Error in 1ms (Allocations: 393)
1064
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1065
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1066
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1067
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.0ms | Allocations: 309)
1068
- Completed 200 OK in 9ms (Views: 7.1ms | Allocations: 2505)
1069
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1070
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1071
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1072
- Completed 500 Internal Server Error in 1ms (Allocations: 615)
1073
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1074
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1075
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1076
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.4ms | Allocations: 156)
1077
- Completed 200 OK in 1ms (Views: 1.1ms | Allocations: 716)
1078
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1079
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1080
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1081
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
1082
- Completed 500 Internal Server Error in 0ms (Allocations: 188)
1083
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1084
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1085
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1086
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1087
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.5ms | Allocations: 460)
1088
- Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 1110)
1089
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1090
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1091
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1092
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1093
- Completed 302 Found in 0ms (Allocations: 355)
1094
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1095
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1096
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1238
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
1239
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1240
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1241
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1242
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: b8a81381-dd78-4b6f-92d3-7928d340ed53) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1243
+ Completed 200 OK in 8ms (Views: 0.3ms | Allocations: 781)
1244
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 20:09:46 +0100
1245
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1246
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1247
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 8e06aa0a-aab8-4435-9887-a43eb0493c7d) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1248
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 380)
1249
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1250
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1251
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1252
+ MOCKS: Govpay refund error: Invalid refund amount available
1253
+ Completed 500 Internal Server Error in 0ms (Allocations: 118)
1254
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1255
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1256
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1257
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 193)
1258
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1097
1259
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1098
1260
  Parameters: {"payment_id"=>"0"}
1099
1261
  MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1100
- ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:34:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:19:in `payment_details'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:16:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:70:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1101
- Completed 422 Unprocessable Entity in 1ms (Allocations: 390)
1102
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1262
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 69)
1263
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1103
1264
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1104
1265
  Parameters: {"payment_id"=>"12345678901234567890123456"}
1105
- Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 518)
1106
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1266
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 571)
1267
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1107
1268
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1108
1269
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1109
1270
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -1111,118 +1272,255 @@ Did you mean? amount
1111
1272
  action
1112
1273
  controller
1113
1274
  return_url
1114
- ["/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:507:in `require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `block in require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `require'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:28:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:8:in `create_payment'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:22:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:49:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1115
- Completed 500 Internal Server Error in 1ms (Allocations: 393)
1116
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1275
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
1276
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1117
1277
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1118
1278
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1119
- Completed 200 OK in 2ms (Views: 0.2ms | Allocations: 551)
1120
- Started GET "/defra_ruby_mocks/govpay/payments/c83t2wl646s9hb7c5ixsm5fpkj" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1121
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1122
- Started POST "/defra_ruby_mocks/govpay/k0kyunupf4twyjgqbpmljxq397/refunds" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1123
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1124
- Processing by DefraRubyMocks::CompanyController#officers as HTML
1125
- Parameters: {"id"=>"company-no"}
1126
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1127
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.4ms | Allocations: 104)
1128
- Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 1269)
1129
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1130
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1279
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: ea18e2c3-91af-4c26-b568-905d9c2beb78) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1280
+ Completed 200 OK in 4ms (Views: 0.3ms | Allocations: 773)
1281
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1282
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1283
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1284
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 7e83e4e8-163f-485d-b370-f66fd8673e6a) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1285
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 375)
1286
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1287
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1288
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1289
+ Completed 200 OK in 0ms (Views: 0.1ms | Allocations: 167)
1290
+ Started GET "/defra_ruby_mocks/govpay/payments/kuc4u5jcy60jxustdu3rqhb9ry" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1291
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1292
+ Started POST "/defra_ruby_mocks/govpay/nznttl54wz03pe8xjudu5ertsg/refunds" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1293
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1294
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1295
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1296
+ Parameters: {"id"=>"99999999"}
1297
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1298
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.4ms | Allocations: 254)
1299
+ Completed 404 Not Found in 8ms (Views: 8.1ms | Allocations: 2348)
1300
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1301
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1302
+ Parameters: {"id"=>"foo"}
1303
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1304
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1305
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
1306
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1307
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1308
+ Parameters: {"id"=>"SC247974"}
1309
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1310
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 123)
1311
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 632)
1312
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-17 19:11:00 +0100
1131
1313
  Processing by DefraRubyMocks::CompanyController#show as HTML
1132
1314
  Parameters: {"id"=>"05868270"}
1133
1315
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1134
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 122)
1135
- Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 622)
1136
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1316
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1317
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 307)
1318
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 20:11:21 +0100
1319
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 20:11:21 +0100
1320
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1321
+ Parameters: {"id"=>"company-no"}
1322
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1323
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.6ms | Allocations: 120)
1324
+ Completed 200 OK in 2ms (Views: 1.1ms | Allocations: 624)
1325
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1326
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1327
+ Parameters: {"id"=>"company-no"}
1328
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1329
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.5ms | Allocations: 265)
1330
+ Completed 200 OK in 10ms (Views: 6.8ms | Allocations: 2457)
1331
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1332
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1333
+ Started GET "/defra_ruby_mocks/govpay/payments/kotra1mbmhoc8dq44fbsosnktc" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1334
+ Started POST "/defra_ruby_mocks/govpay/duzayodvi5i5wfjcvwkun06jpf/refunds" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1335
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1336
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1337
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1338
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 600)
1339
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1340
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1341
+ Parameters: {"payment_id"=>"0"}
1342
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1343
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 72)
1344
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1345
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1346
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1347
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1348
+ Did you mean? amount
1349
+ action
1350
+ controller
1351
+ return_url
1352
+ Completed 500 Internal Server Error in 0ms (Allocations: 104)
1353
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1354
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1355
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1356
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 00130b87-62ab-4cd3-964f-97c022a5173e) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1357
+ Completed 200 OK in 6ms (Views: 0.3ms | Allocations: 770)
1358
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1359
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1360
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1361
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: f7d0f2a3-8301-4ecd-a624-96e9a2e2207f) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1362
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 373)
1363
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1364
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1365
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1366
+ Completed 200 OK in 1ms (Views: 0.1ms | Allocations: 161)
1367
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1368
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1369
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1370
+ MOCKS: Govpay refund error: Invalid refund amount available
1371
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
1372
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1373
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1374
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1375
+ Completed 200 OK in 0ms (Views: 0.2ms | Allocations: 167)
1376
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1377
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1137
1378
  Processing by DefraRubyMocks::CompanyController#show as HTML
1138
1379
  Parameters: {"id"=>"foo"}
1139
1380
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1140
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
1141
- Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 535)
1142
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1381
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
1382
+ Completed 404 Not Found in 2ms (Views: 1.5ms | Allocations: 535)
1383
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1143
1384
  Processing by DefraRubyMocks::CompanyController#show as HTML
1144
1385
  Parameters: {"id"=>"SC247974"}
1145
1386
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1146
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1147
- Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1148
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1387
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.7ms | Allocations: 123)
1388
+ Completed 200 OK in 2ms (Views: 1.1ms | Allocations: 623)
1389
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1149
1390
  Processing by DefraRubyMocks::CompanyController#show as HTML
1150
- Parameters: {"id"=>"99999999"}
1151
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1152
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1153
- Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1154
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 12:00:40 +0100
1155
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1156
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1157
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1158
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 1.3ms | Allocations: 324)
1159
- Completed 200 OK in 8ms (Views: 7.5ms | Allocations: 2569)
1160
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1161
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1162
- MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1163
- Completed 500 Internal Server Error in 1ms (Allocations: 615)
1164
- Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1165
- Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1166
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1167
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 141)
1168
- Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 644)
1169
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1170
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1171
- Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1172
- MOCKS: Worldpay dispatcher error: Could not find resource: foo
1173
- Completed 500 Internal Server Error in 0ms (Allocations: 180)
1174
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1175
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1176
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1177
- Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1178
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.8ms | Allocations: 457)
1179
- Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 1099)
1180
- Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1181
- Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1182
- Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1183
- Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1184
- Completed 302 Found in 0ms (Allocations: 355)
1185
- Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1186
- Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1187
- Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1391
+ Parameters: {"id"=>"05868270"}
1392
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1393
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1394
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
1395
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-17 19:13:02 +0100
1188
1396
  Processing by DefraRubyMocks::CompanyController#show as HTML
1189
1397
  Parameters: {"id"=>"99999999"}
1190
1398
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1191
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 92)
1192
- Completed 404 Not Found in 2ms (Views: 2.3ms | Allocations: 1205)
1193
- Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1399
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1400
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 253)
1401
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1402
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1403
+ Parameters: {"id"=>"company-no"}
1404
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1405
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 2.6ms | Allocations: 265)
1406
+ Completed 200 OK in 16ms (Views: 10.1ms | Allocations: 2457)
1407
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1408
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1194
1409
  Processing by DefraRubyMocks::CompanyController#show as HTML
1195
1410
  Parameters: {"id"=>"05868270"}
1196
1411
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1197
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.5ms | Allocations: 122)
1198
- Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 632)
1199
- Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1412
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.0ms | Allocations: 125)
1413
+ Completed 200 OK in 3ms (Views: 1.5ms | Allocations: 630)
1414
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1415
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1416
+ Parameters: {"id"=>"99999999"}
1417
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1418
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.9ms | Allocations: 86)
1419
+ Completed 404 Not Found in 2ms (Views: 2.2ms | Allocations: 535)
1420
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1200
1421
  Processing by DefraRubyMocks::CompanyController#show as HTML
1201
1422
  Parameters: {"id"=>"foo"}
1202
1423
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1203
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1204
- Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
1205
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1424
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.1ms | Allocations: 10)
1425
+ Completed 404 Not Found in 1ms (Views: 0.6ms | Allocations: 254)
1426
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1206
1427
  Processing by DefraRubyMocks::CompanyController#show as HTML
1207
1428
  Parameters: {"id"=>"SC247974"}
1208
1429
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1209
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1210
- Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
1211
- Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1212
- Started GET "/defra_ruby_mocks/govpay/payments/6k9ly6cv7wgdlflz55ncr7ufnm" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1213
- Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1214
- Started POST "/defra_ruby_mocks/govpay/tj4gbfnhusj2dndx1mwsbmoerw/refunds" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1215
- Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1430
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1431
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 306)
1432
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1433
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1434
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1435
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1436
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 44ee29c8-e9b7-487f-9db8-2326d8730375) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1437
+ Completed 200 OK in 4ms (Views: 0.5ms | Allocations: 541)
1438
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1439
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1440
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1441
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 7893c39e-9066-4c97-b5d1-c7a76175bf4a) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1442
+ Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 372)
1443
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1444
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1445
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1446
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1447
+ Did you mean? amount
1448
+ action
1449
+ controller
1450
+ return_url
1451
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
1452
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1453
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1454
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1455
+ Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 214)
1456
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1457
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1458
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1459
+ MOCKS: Govpay refund error: Invalid refund amount available
1460
+ Completed 500 Internal Server Error in 0ms (Allocations: 72)
1461
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-19 13:27:21 +0100
1462
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1463
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1464
+ Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 153)
1465
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-19 13:27:22 +0100
1466
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1467
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1468
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 569)
1469
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-19 13:27:22 +0100
1216
1470
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1217
1471
  Parameters: {"payment_id"=>"0"}
1218
1472
  MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1219
- ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:36:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:21:in `payment_details'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:16:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `get'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:70:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1220
- Completed 422 Unprocessable Entity in 1ms (Allocations: 365)
1221
- Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1473
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
1474
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-19 13:27:22 +0100
1475
+ Started POST "/defra_ruby_mocks/govpay/mv618xowk84kd0ddus20q0s3v1/refunds" for 127.0.0.1 at 2023-05-19 13:27:22 +0100
1476
+ Started GET "/defra_ruby_mocks/govpay/payments/q23u6if8539z4jvlvsymnvvfly" for 127.0.0.1 at 2023-05-19 13:27:22 +0100
1477
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-22 12:49:32 +0100
1478
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2023-05-22 12:49:32 +0100
1479
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1480
+ Parameters: {"id"=>"99999999"}
1481
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1482
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 2.7ms | Allocations: 253)
1483
+ Completed 404 Not Found in 11ms (Views: 10.4ms | Allocations: 2430)
1484
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2023-05-22 12:49:32 +0100
1485
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1486
+ Parameters: {"id"=>"foo"}
1487
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1488
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.1ms | Allocations: 10)
1489
+ Completed 404 Not Found in 1ms (Views: 0.6ms | Allocations: 253)
1490
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2023-05-22 12:49:32 +0100
1491
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1492
+ Parameters: {"id"=>"SC247974"}
1493
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1494
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.6ms | Allocations: 123)
1495
+ Completed 200 OK in 3ms (Views: 2.1ms | Allocations: 639)
1496
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2023-05-22 12:49:32 +0100
1497
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1498
+ Parameters: {"id"=>"05868270"}
1499
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1500
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1501
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 306)
1502
+ Started POST "/defra_ruby_mocks/govpay/fnooz2k3xnx4g9zh0nu7dfanj7/refunds" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1503
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1504
+ Started GET "/defra_ruby_mocks/govpay/payments/o7gtmxgnmczqqj345iefvm05ii" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1505
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1222
1506
  Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1223
1507
  Parameters: {"payment_id"=>"12345678901234567890123456"}
1224
- Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 502)
1225
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1508
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 601)
1509
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1510
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1511
+ Parameters: {"payment_id"=>"0"}
1512
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1513
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 76)
1514
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1515
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1516
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>nil, "payment_id"=>"12345678901234567890123456"}
1517
+ MOCKS: Govpay refund error: Invalid refund amount available
1518
+ Completed 500 Internal Server Error in 0ms (Allocations: 76)
1519
+ Started POST "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1520
+ Processing by DefraRubyMocks::GovpayController#create_refund as HTML
1521
+ Parameters: {"amount"=>"2000", "refund_amount_available"=>"5000", "payment_id"=>"12345678901234567890123456"}
1522
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 156)
1523
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1226
1524
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1227
1525
  Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1228
1526
  MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
@@ -1230,16 +1528,25 @@ Did you mean? amount
1230
1528
  action
1231
1529
  controller
1232
1530
  return_url
1233
- ["/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:507:in `require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `block in require'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/strong_parameters.rb:502:in `require'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:30:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:10:in `create_payment'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:106:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_controller/metal.rb:254:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:33:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `public_send'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/railtie.rb:207:in `method_missing'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/mapper.rb:49:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:50:in `block in serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `each'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/journey/router.rb:32:in `serve'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/routing/route_set.rb:842:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/permissions_policy.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/http/content_security_policy.rb:19:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/cookies.rb:689:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:98:in `run_callbacks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/callbacks.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:37:in `call_app'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `block in call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `block in tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:37:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/tagged_logging.rb:99:in `tagged'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/rack/logger.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb:119:in `request'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:279:in `process'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:22:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.1.5/lib/action_dispatch/testing/integration.rb:372:in `post'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:49:in `block (5 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:457:in `instance_exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:390:in `execute_with'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:352:in `call'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:259:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/rspec:23:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in `kernel_load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `load'", "/Users/pauldoyle/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'"]
1234
- Completed 500 Internal Server Error in 1ms (Allocations: 385)
1235
- Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1531
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
1532
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1533
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1534
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1535
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 11351126-cebf-4e63-b84d-6ad6e163ee6c) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1536
+ Completed 200 OK in 4ms (Views: 0.4ms | Allocations: 516)
1537
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1236
1538
  Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1237
1539
  Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1238
- Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 539)
1239
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1540
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: f6d0ce8b-9b54-46c8-8922-67f4d22b86af) to Test(default) with arguments: "https://your.service.gov.uk/completed"
1541
+ Completed 200 OK in 2ms (Views: 0.4ms | Allocations: 382)
1542
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456/refunds/j6se0f2o427g28g8yg3u3i" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1543
+ Processing by DefraRubyMocks::GovpayController#refund_details as HTML
1544
+ Parameters: {"payment_id"=>"12345678901234567890123456", "refund_id"=>"j6se0f2o427g28g8yg3u3i"}
1545
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 192)
1546
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-22 13:49:55 +0100
1240
1547
  Processing by DefraRubyMocks::CompanyController#officers as HTML
1241
1548
  Parameters: {"id"=>"company-no"}
1242
1549
  Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1243
- Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.6ms | Allocations: 104)
1244
- Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 588)
1245
- Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1550
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.4ms | Allocations: 120)
1551
+ Completed 200 OK in 3ms (Views: 1.9ms | Allocations: 630)
1552
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2023-05-22 13:49:55 +0100