defra_ruby_mocks 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/defra_ruby_mocks/govpay_controller.rb +5 -3
  3. data/app/jobs/defra_ruby_mocks/application_job.rb +6 -0
  4. data/app/jobs/defra_ruby_mocks/govpay_payment_callback_job.rb +17 -0
  5. data/app/services/defra_ruby_mocks/govpay_create_payment_service.rb +41 -13
  6. data/app/services/defra_ruby_mocks/govpay_get_payment_service.rb +74 -16
  7. data/lib/defra_ruby_mocks/version.rb +1 -1
  8. data/spec/dummy/log/test.log +1488 -0
  9. data/spec/examples.txt +119 -110
  10. data/spec/fixtures/files/govpay/create_payment_created_response.json +24 -0
  11. data/spec/fixtures/files/govpay/create_payment_error_response.json +5 -0
  12. data/spec/fixtures/files/govpay/get_payment_response_cancelled.json +61 -0
  13. data/spec/fixtures/files/govpay/get_payment_response_created.json +73 -0
  14. data/spec/fixtures/files/govpay/get_payment_response_error.json +5 -0
  15. data/spec/fixtures/files/govpay/get_payment_response_failure.json +9 -0
  16. data/spec/fixtures/files/govpay/get_payment_response_not_found.json +4 -0
  17. data/spec/fixtures/files/govpay/get_payment_response_submitted.json +75 -0
  18. data/spec/fixtures/files/govpay/get_payment_response_success.json +62 -0
  19. data/spec/fixtures/{payment_request_invalid.xml → files/worldpay/payment_request_invalid.xml} +0 -0
  20. data/spec/fixtures/{payment_request_valid.xml → files/worldpay/payment_request_valid.xml} +0 -0
  21. data/spec/fixtures/{refund_request_invalid.xml → files/worldpay/refund_request_invalid.xml} +0 -0
  22. data/spec/fixtures/{refund_request_valid.xml → files/worldpay/refund_request_valid.xml} +0 -0
  23. data/spec/fixtures/{unrecognised_request.xml → files/worldpay/unrecognised_request.xml} +0 -0
  24. data/spec/requests/govpay_spec.rb +20 -0
  25. data/spec/requests/worldpay_spec.rb +3 -3
  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/worldpay_payment_service_spec.rb +2 -2
  29. data/spec/services/worldpay_refund_service_spec.rb +2 -2
  30. data/spec/services/worldpay_request_handler_service_spec.rb +3 -3
  31. metadata +36 -12
@@ -1243,3 +1243,1491 @@ Processing by DefraRubyMocks::CompanyController#officers as HTML
1243
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
1244
  Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 588)
1245
1245
  Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-23 12:09:00 +0100
1246
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1247
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1248
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1249
+ Completed 200 OK in 2ms (Views: 0.4ms | Allocations: 654)
1250
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1251
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1252
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1253
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1254
+ Did you mean? amount
1255
+ action
1256
+ controller
1257
+ return_url
1258
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1259
+ Completed 500 Internal Server Error in 1ms (Allocations: 403)
1260
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1261
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1262
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1263
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 511)
1264
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1265
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1266
+ Parameters: {"payment_id"=>"0"}
1267
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1268
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1269
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1270
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1271
+ Started GET "/defra_ruby_mocks/govpay/payments/iub8u2668krrm5qai8nyfvfzwu" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1272
+ Started POST "/defra_ruby_mocks/govpay/w1nkn1mgk548qvjyrurrg39636/refunds" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1273
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1274
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1275
+ Parameters: {"id"=>"company-no"}
1276
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1277
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 6.3ms | Allocations: 266)
1278
+ Completed 200 OK in 22ms (Views: 13.9ms | Allocations: 2405)
1279
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1280
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1281
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1282
+ 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-24 12:46:37 +0100
1283
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1284
+ 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"}
1285
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1286
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 458)
1287
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1252)
1288
+ 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-24 12:46:37 +0100
1289
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1290
+ 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"}
1291
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1292
+ Completed 302 Found in 0ms (Allocations: 355)
1293
+ 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-24 12:46:37 +0100
1294
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1295
+ 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"}
1296
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1297
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
1298
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1299
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1300
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1301
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 162)
1302
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 1233)
1303
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1304
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1305
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1306
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.5ms | Allocations: 141)
1307
+ Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 644)
1308
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1309
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1310
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1311
+ Completed 500 Internal Server Error in 1ms (Allocations: 611)
1312
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1313
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1314
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1315
+ Parameters: {"id"=>"foo"}
1316
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1317
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.6ms | Allocations: 86)
1318
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 535)
1319
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1320
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1321
+ Parameters: {"id"=>"SC247974"}
1322
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1323
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 122)
1324
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 622)
1325
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1326
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1327
+ Parameters: {"id"=>"05868270"}
1328
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1329
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1330
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1331
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-24 12:46:37 +0100
1332
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1333
+ Parameters: {"id"=>"99999999"}
1334
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1335
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1336
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1337
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1338
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1339
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1340
+ Parameters: {"id"=>"company-no"}
1341
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1342
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.5ms | Allocations: 265)
1343
+ Completed 200 OK in 12ms (Views: 7.5ms | Allocations: 2457)
1344
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1345
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1346
+ Parameters: {"id"=>"05868270"}
1347
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1348
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.5ms | Allocations: 123)
1349
+ Completed 200 OK in 3ms (Views: 1.9ms | Allocations: 624)
1350
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1351
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1352
+ Parameters: {"id"=>"99999999"}
1353
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1354
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.4ms | Allocations: 90)
1355
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 541)
1356
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1357
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1358
+ Parameters: {"id"=>"foo"}
1359
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1360
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.9ms | Allocations: 10)
1361
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 254)
1362
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1363
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1364
+ Parameters: {"id"=>"SC247974"}
1365
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1366
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1367
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 306)
1368
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1369
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1370
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1371
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1372
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1373
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1374
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.7ms | Allocations: 162)
1375
+ Completed 200 OK in 4ms (Views: 3.5ms | Allocations: 1386)
1376
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1377
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1378
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1379
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 2.1ms | Allocations: 141)
1380
+ Completed 200 OK in 5ms (Views: 4.2ms | Allocations: 644)
1381
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1382
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1383
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1384
+ Completed 500 Internal Server Error in 1ms (Allocations: 615)
1385
+ 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-24 13:07:41 +0100
1386
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1387
+ 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"}
1388
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1389
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
1390
+ 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-24 13:07:41 +0100
1391
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1392
+ 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"}
1393
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1394
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.0ms | Allocations: 457)
1395
+ Completed 200 OK in 3ms (Views: 2.1ms | Allocations: 1098)
1396
+ 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-24 13:07:41 +0100
1397
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1398
+ 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"}
1399
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1400
+ Completed 302 Found in 1ms (Allocations: 355)
1401
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1402
+ Started GET "/defra_ruby_mocks/govpay/payments/pwtmxzizms3g4604q7r63iqgcu" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1403
+ Started POST "/defra_ruby_mocks/govpay/5qkb6gosrx1zny71pzwedeifei/refunds" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1404
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1405
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1406
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1407
+ Completed 200 OK in 2ms (Views: 0.4ms | Allocations: 604)
1408
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1409
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1410
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1411
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1412
+ Did you mean? amount
1413
+ action
1414
+ controller
1415
+ return_url
1416
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1417
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
1418
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1419
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1420
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1421
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 510)
1422
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-24 13:07:41 +0100
1423
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1424
+ Parameters: {"payment_id"=>"0"}
1425
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1426
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1427
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1428
+ Started GET "/defra_ruby_mocks/govpay/payments/cj1ss8s7ggul89356tukgz1gbc" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1429
+ Started POST "/defra_ruby_mocks/govpay/kfy6e4cdhxke03kzhcd0nvhf1g/refunds" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1430
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1431
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1432
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1433
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1434
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1435
+ Did you mean? amount
1436
+ action
1437
+ controller
1438
+ return_url
1439
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1440
+ Completed 500 Internal Server Error in 2ms (Allocations: 463)
1441
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1442
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1443
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1444
+ MOCKS: Govpay payment creation error: undefined method `file_fixture' for #<DefraRubyMocks::GovpayCreatePaymentService:0x00007ff5fa56b650>
1445
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_create_payment_service.rb:9:in `run'", "/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:33: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.2/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>'"]
1446
+ Completed 500 Internal Server Error in 2ms (Allocations: 1201)
1447
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1448
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1449
+ Parameters: {"payment_id"=>"0"}
1450
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1451
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1452
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 363)
1453
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:29:16 +0100
1454
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1455
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1456
+ MOCKS: Govpay payment details error: undefined method `first' for nil:NilClass
1457
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:26:in `locate_transient_registration_by_govpay_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:19:in `resource'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/base_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:39:in `requested_status'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:17:in `run'", "/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:61: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.2/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>'"]
1458
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 902)
1459
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1460
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1461
+ Parameters: {"id"=>"05868270"}
1462
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1463
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 2.2ms | Allocations: 285)
1464
+ Completed 200 OK in 14ms (Views: 8.5ms | Allocations: 2468)
1465
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1466
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1467
+ Parameters: {"id"=>"SC247974"}
1468
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1469
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1470
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1471
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1472
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1473
+ Parameters: {"id"=>"foo"}
1474
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1475
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.7ms | Allocations: 86)
1476
+ Completed 404 Not Found in 2ms (Views: 1.5ms | Allocations: 534)
1477
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1478
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1479
+ Parameters: {"id"=>"99999999"}
1480
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1481
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1482
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 254)
1483
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1484
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1485
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1486
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1487
+ Parameters: {"id"=>"company-no"}
1488
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1489
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.9ms | Allocations: 104)
1490
+ Completed 200 OK in 2ms (Views: 1.2ms | Allocations: 588)
1491
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1492
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1493
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1494
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1495
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1496
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 1.1ms | Allocations: 162)
1497
+ Completed 200 OK in 3ms (Views: 2.7ms | Allocations: 1386)
1498
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1499
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1500
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1501
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.0ms | Allocations: 141)
1502
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 644)
1503
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:29:18 +0100
1504
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1505
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1506
+ Completed 500 Internal Server Error in 1ms (Allocations: 605)
1507
+ 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-27 16:29:18 +0100
1508
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1509
+ 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"}
1510
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1511
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.1ms | Allocations: 457)
1512
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 1098)
1513
+ 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-27 16:29:18 +0100
1514
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1515
+ 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"}
1516
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1517
+ Completed 302 Found in 0ms (Allocations: 355)
1518
+ 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-27 16:29:18 +0100
1519
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1520
+ 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"}
1521
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1522
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
1523
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1524
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1525
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1526
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1527
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1528
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.1ms | Allocations: 309)
1529
+ Completed 200 OK in 8ms (Views: 7.5ms | Allocations: 2505)
1530
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1531
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1532
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1533
+ Completed 500 Internal Server Error in 1ms (Allocations: 615)
1534
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1535
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1536
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1537
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.4ms | Allocations: 156)
1538
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 716)
1539
+ 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-27 16:37:56 +0100
1540
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1541
+ 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"}
1542
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1543
+ Completed 500 Internal Server Error in 0ms (Allocations: 180)
1544
+ 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-27 16:37:56 +0100
1545
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1546
+ 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"}
1547
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1548
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.6ms | Allocations: 457)
1549
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 1099)
1550
+ 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-27 16:37:56 +0100
1551
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1552
+ 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"}
1553
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1554
+ Completed 302 Found in 0ms (Allocations: 355)
1555
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1556
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1557
+ Parameters: {"id"=>"05868270"}
1558
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1559
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 122)
1560
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1302)
1561
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1562
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1563
+ Parameters: {"id"=>"99999999"}
1564
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1565
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
1566
+ Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 535)
1567
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1568
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1569
+ Parameters: {"id"=>"SC247974"}
1570
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1571
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1572
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1573
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1574
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1575
+ Parameters: {"id"=>"foo"}
1576
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1577
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1578
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1579
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1580
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1581
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1582
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1583
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 399)
1584
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1585
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1586
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1587
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1588
+ Did you mean? amount
1589
+ action
1590
+ controller
1591
+ return_url
1592
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1593
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
1594
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1595
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1596
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1597
+ MOCKS: Govpay payment details error: undefined method `first' for nil:NilClass
1598
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:26:in `locate_transient_registration_by_govpay_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:19:in `resource'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/base_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:39:in `requested_status'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:17:in `run'", "/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:61: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.2/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>'"]
1599
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 902)
1600
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1601
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1602
+ Parameters: {"payment_id"=>"0"}
1603
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1604
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1605
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1606
+ Started POST "/defra_ruby_mocks/govpay/4zoqecatppnffft3jtsubgoa7p/refunds" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1607
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1608
+ Started GET "/defra_ruby_mocks/govpay/payments/zj5hfh00y83emziqup0uo3j9ym" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1609
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1610
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 16:37:56 +0100
1611
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1612
+ Parameters: {"id"=>"company-no"}
1613
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1614
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.4ms | Allocations: 104)
1615
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 588)
1616
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:39:10 +0100
1617
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1618
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1619
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:42:41 +0100
1620
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1621
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1622
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:50:24 +0100
1623
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1624
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1625
+ MOCKS: Govpay payment details error: undefined method `first' for nil:NilClass
1626
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:27:in `locate_transient_registration_by_govpay_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:19:in `resource'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/waste_carriers_resource_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/base_service.rb:9:in `run'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:39:in `requested_status'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/services/defra_ruby_mocks/govpay_get_payment_service.rb:17:in `run'", "/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:69: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.2/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>'"]
1627
+ Completed 422 Unprocessable Entity in 68751ms (Allocations: 36686)
1628
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 16:52:02 +0100
1629
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1630
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1631
+ Started POST "/defra_ruby_mocks/govpay/8j7c1f59emwxel5jx98regwdq8/refunds" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1632
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1633
+ Started GET "/defra_ruby_mocks/govpay/payments/srgxgx7fiquflmu5x3i520u93y" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1634
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1635
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1636
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1637
+ Completed 200 OK in 4ms (Views: 2.3ms | Allocations: 749)
1638
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1639
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1640
+ Parameters: {"payment_id"=>"0"}
1641
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1642
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:37:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
1643
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 372)
1644
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1645
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1646
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1647
+ Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 354)
1648
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1649
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1650
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1651
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1652
+ Did you mean? amount
1653
+ action
1654
+ controller
1655
+ return_url
1656
+ ["/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:31:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1657
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
1658
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1659
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1660
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1661
+ Completed 500 Internal Server Error in 1ms (Allocations: 657)
1662
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1663
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1664
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1665
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.5ms | Allocations: 310)
1666
+ Completed 200 OK in 9ms (Views: 9.1ms | Allocations: 2403)
1667
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1668
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1669
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1670
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 1.0ms | Allocations: 156)
1671
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 716)
1672
+ 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-27 17:46:18 +0100
1673
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1674
+ 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"}
1675
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1676
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
1677
+ 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-27 17:46:18 +0100
1678
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1679
+ 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"}
1680
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1681
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.8ms | Allocations: 459)
1682
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1102)
1683
+ 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-27 17:46:18 +0100
1684
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1685
+ 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"}
1686
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1687
+ Completed 302 Found in 0ms (Allocations: 355)
1688
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1689
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1690
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1691
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1692
+ Parameters: {"id"=>"99999999"}
1693
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1694
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.6ms | Allocations: 92)
1695
+ Completed 404 Not Found in 3ms (Views: 2.3ms | Allocations: 1205)
1696
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1697
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1698
+ Parameters: {"id"=>"05868270"}
1699
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1700
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.5ms | Allocations: 122)
1701
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 632)
1702
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1703
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1704
+ Parameters: {"id"=>"foo"}
1705
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1706
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1707
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 254)
1708
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1709
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1710
+ Parameters: {"id"=>"SC247974"}
1711
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1712
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1713
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
1714
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1715
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1716
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:46:18 +0100
1717
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1718
+ Parameters: {"id"=>"company-no"}
1719
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1720
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.5ms | Allocations: 104)
1721
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 588)
1722
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1723
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1724
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1725
+ Parameters: {"id"=>"05868270"}
1726
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1727
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.0ms | Allocations: 284)
1728
+ Completed 200 OK in 7ms (Views: 4.2ms | Allocations: 2492)
1729
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1730
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1731
+ Parameters: {"id"=>"foo"}
1732
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1733
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
1734
+ Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 535)
1735
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1736
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1737
+ Parameters: {"id"=>"SC247974"}
1738
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1739
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1740
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
1741
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1742
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1743
+ Parameters: {"id"=>"99999999"}
1744
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1745
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1746
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1747
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1748
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1749
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1750
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 396)
1751
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1752
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1753
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1754
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1755
+ Did you mean? amount
1756
+ action
1757
+ controller
1758
+ return_url
1759
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1760
+ Completed 500 Internal Server Error in 1ms (Allocations: 402)
1761
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1762
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1763
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1764
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 645)
1765
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1766
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1767
+ Parameters: {"payment_id"=>"0"}
1768
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1769
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
1770
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1771
+ Started POST "/defra_ruby_mocks/govpay/y8q1mtk7d0gyxqb1ww2yqyqmb6/refunds" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1772
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1773
+ Started GET "/defra_ruby_mocks/govpay/payments/nls821fzq7yqpf2vxzqb31mu5d" for 127.0.0.1 at 2022-06-27 17:49:27 +0100
1774
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1775
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1776
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1777
+ Parameters: {"id"=>"company-no"}
1778
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1779
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 108)
1780
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 600)
1781
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1782
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1783
+ 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-27 17:49:28 +0100
1784
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1785
+ 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"}
1786
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1787
+ Completed 500 Internal Server Error in 0ms (Allocations: 220)
1788
+ 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-27 17:49:28 +0100
1789
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1790
+ 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"}
1791
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1792
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.5ms | Allocations: 457)
1793
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 1205)
1794
+ 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-27 17:49:28 +0100
1795
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1796
+ 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"}
1797
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1798
+ Completed 302 Found in 0ms (Allocations: 355)
1799
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1800
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1801
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1802
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.4ms | Allocations: 147)
1803
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 1161)
1804
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1805
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1806
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1807
+ Completed 500 Internal Server Error in 1ms (Allocations: 611)
1808
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:28 +0100
1809
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1810
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1811
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.4ms | Allocations: 156)
1812
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 716)
1813
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1814
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1815
+ 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-27 17:49:45 +0100
1816
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1817
+ 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"}
1818
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1819
+ Completed 302 Found in 1ms (Allocations: 427)
1820
+ 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-27 17:49:45 +0100
1821
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1822
+ 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"}
1823
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1824
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 1.1ms | Allocations: 619)
1825
+ Completed 200 OK in 6ms (Views: 5.7ms | Allocations: 2359)
1826
+ 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-27 17:49:45 +0100
1827
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1828
+ 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"}
1829
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1830
+ Completed 500 Internal Server Error in 0ms (Allocations: 178)
1831
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1832
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1833
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1834
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.4ms | Allocations: 162)
1835
+ Completed 200 OK in 2ms (Views: 1.9ms | Allocations: 1250)
1836
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1837
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1838
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1839
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.4ms | Allocations: 141)
1840
+ Completed 200 OK in 2ms (Views: 1.2ms | Allocations: 644)
1841
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1842
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1843
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1844
+ Completed 500 Internal Server Error in 1ms (Allocations: 611)
1845
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1846
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1847
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1848
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 688)
1849
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1850
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1851
+ Parameters: {"payment_id"=>"0"}
1852
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1853
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
1854
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1855
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1856
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1857
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1858
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1859
+ Did you mean? amount
1860
+ action
1861
+ controller
1862
+ return_url
1863
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1864
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
1865
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1866
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1867
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1868
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 354)
1869
+ Started GET "/defra_ruby_mocks/govpay/payments/cn7tiin7trcvdfkpr3aaxs847b" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1870
+ Started POST "/defra_ruby_mocks/govpay/58knbujg2ctik80cd967uwc0d1/refunds" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1871
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1872
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1873
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1874
+ Parameters: {"id"=>"company-no"}
1875
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1876
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.3ms | Allocations: 104)
1877
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1269)
1878
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1879
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1880
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1881
+ Parameters: {"id"=>"05868270"}
1882
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1883
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.3ms | Allocations: 122)
1884
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 622)
1885
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1886
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1887
+ Parameters: {"id"=>"foo"}
1888
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1889
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.3ms | Allocations: 86)
1890
+ Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 535)
1891
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1892
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1893
+ Parameters: {"id"=>"SC247974"}
1894
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1895
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
1896
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 307)
1897
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1898
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1899
+ Parameters: {"id"=>"99999999"}
1900
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1901
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1902
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
1903
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:49:45 +0100
1904
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1905
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
1906
+ Parameters: {"id"=>"company-no"}
1907
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
1908
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 1.3ms | Allocations: 265)
1909
+ Completed 200 OK in 10ms (Views: 6.7ms | Allocations: 2457)
1910
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1911
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1912
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1913
+ Parameters: {"id"=>"SC247974"}
1914
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1915
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 5.6ms | Allocations: 123)
1916
+ Completed 200 OK in 7ms (Views: 6.0ms | Allocations: 624)
1917
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1918
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1919
+ Parameters: {"id"=>"foo"}
1920
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1921
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.4ms | Allocations: 90)
1922
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 540)
1923
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1924
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1925
+ Parameters: {"id"=>"99999999"}
1926
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
1927
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
1928
+ Completed 404 Not Found in 1ms (Views: 0.4ms | Allocations: 254)
1929
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1930
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1931
+ Parameters: {"id"=>"05868270"}
1932
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
1933
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
1934
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 306)
1935
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1936
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1937
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1938
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1939
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.5ms | Allocations: 162)
1940
+ Completed 200 OK in 11ms (Views: 2.6ms | Allocations: 1394)
1941
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1942
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1943
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1944
+ Completed 500 Internal Server Error in 1ms (Allocations: 615)
1945
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1946
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1947
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
1948
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.4ms | Allocations: 141)
1949
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 644)
1950
+ 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-27 17:59:08 +0100
1951
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1952
+ 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"}
1953
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1954
+ Completed 302 Found in 1ms (Allocations: 370)
1955
+ 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-27 17:59:08 +0100
1956
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1957
+ 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"}
1958
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
1959
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.5ms | Allocations: 457)
1960
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 1096)
1961
+ 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-27 17:59:08 +0100
1962
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1963
+ 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"}
1964
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1965
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
1966
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1967
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1968
+ Started GET "/defra_ruby_mocks/govpay/payments/bjz30pefw6dq6rbbaadzz8eg5o" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1969
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1970
+ Started POST "/defra_ruby_mocks/govpay/fbb1q3fm0itmjdubkkrpni2c5m/refunds" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1971
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1972
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1973
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
1974
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 688)
1975
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1976
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
1977
+ Parameters: {"payment_id"=>"0"}
1978
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
1979
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
1980
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 362)
1981
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1982
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1983
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1984
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
1985
+ Did you mean? amount
1986
+ action
1987
+ controller
1988
+ return_url
1989
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
1990
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
1991
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 17:59:08 +0100
1992
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
1993
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
1994
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 355)
1995
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
1996
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1997
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
1998
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 1.1ms | Allocations: 324)
1999
+ Completed 200 OK in 11ms (Views: 7.0ms | Allocations: 2577)
2000
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2001
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2002
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2003
+ Completed 500 Internal Server Error in 1ms (Allocations: 616)
2004
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2005
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2006
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2007
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 145)
2008
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 648)
2009
+ 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-27 19:04:54 +0100
2010
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2011
+ 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"}
2012
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2013
+ Completed 500 Internal Server Error in 0ms (Allocations: 187)
2014
+ 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-27 19:04:54 +0100
2015
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2016
+ 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"}
2017
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2018
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 457)
2019
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1106)
2020
+ 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-27 19:04:54 +0100
2021
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2022
+ 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"}
2023
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2024
+ Completed 302 Found in 0ms (Allocations: 355)
2025
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2026
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2027
+ >>>>>>>>> get payment service, id: 05577b8cd9aa580c100f50b07cebe55dd6d782abaf9aae66301c_pending, requested status: created
2028
+ >>>>>>>>> get payment service, id: 2fff95aa9831416b4bbcb6bd040695301d6bbada71a670120847_error, requested status: error
2029
+ >>>>>>>>> get payment service, id: 46ffed121a9aa646dbee8d6849ea816ff684fb4a0d6a08f03850, requested status: success
2030
+ >>>>>>>>> get payment service, id: 1d5ed849224a85934a8a3e5962d239472e6c19f08c97cc134c9e, requested status: success
2031
+ >>>>>>>>> get payment service, id: 465731f40bece4280a56d53205124f26527361b3a9c0bf82c82a_rejected, requested status: failure
2032
+ >>>>>>>>> get payment service, id: 326b51d939a1002980d041803aaca569571189b90377334167c5_cancel, requested status: cancelled
2033
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2034
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2035
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2036
+ Parameters: {"id"=>"company-no"}
2037
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2038
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.5ms | Allocations: 104)
2039
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1269)
2040
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2041
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2042
+ Parameters: {"id"=>"05868270"}
2043
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2044
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 122)
2045
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 622)
2046
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2047
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2048
+ Parameters: {"id"=>"SC247974"}
2049
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2050
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2051
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
2052
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2053
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2054
+ Parameters: {"id"=>"foo"}
2055
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2056
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.4ms | Allocations: 86)
2057
+ Completed 404 Not Found in 1ms (Views: 1.1ms | Allocations: 534)
2058
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2059
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2060
+ Parameters: {"id"=>"99999999"}
2061
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2062
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2063
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 254)
2064
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 19:04:54 +0100
2065
+ Started GET "/defra_ruby_mocks/govpay/payments/4qc4nzprs502xo9zpotqq620e0" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2066
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2067
+ Started POST "/defra_ruby_mocks/govpay/ikts0tzmyufz0yy5adq1gld7qf/refunds" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2068
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2069
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2070
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2071
+ >>>>>>>>> get payment service, id: 12345678901234567890123456, requested status: success
2072
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 636)
2073
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2074
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2075
+ Parameters: {"payment_id"=>"0"}
2076
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2077
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
2078
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 362)
2079
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2080
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2081
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2082
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2083
+ Did you mean? amount
2084
+ action
2085
+ controller
2086
+ return_url
2087
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
2088
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
2089
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 19:04:56 +0100
2090
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2091
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2092
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 308)
2093
+ >>>>>>>>> get payment service, id: 9b20fdf6770da916cd47a237f667586499471db50870173b55ee_pending, requested status: created
2094
+ >>>>>>>>> get payment service, id: 529556ec8c7b5586189ad37b478c4d2f358202cd13385e37960e, requested status: success
2095
+ >>>>>>>>> get payment service, id: 31f7256af8e786c9df712bd86b965b9c058e816193f0ebf8536f, requested status: success
2096
+ >>>>>>>>> get payment service, id: b3f153812d50cc19d187e24073acea8aecb520cfaa32fbfb443a_rejected, requested status: failure
2097
+ >>>>>>>>> get payment service, id: e2b00104df6d6a84d9d2c5abd58a2ed7180254dc59f25be87bb8_cancel, requested status: cancelled
2098
+ >>>>>>>>> get payment service, id: 94460d4618df99c5d8bbf677dcba702aacbe26d72c3a44f1e1ae_error, requested status: error
2099
+ Started POST "/defra_ruby_mocks/govpay/97fvfyk7917f46aqnrld3wy78e/refunds" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2100
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2101
+ Started GET "/defra_ruby_mocks/govpay/payments/tetgkpno9kzja0chcb3h4skp85" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2102
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2103
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2104
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2105
+ >>>>>>>>> get payment service, id: 12345678901234567890123456, requested status: success
2106
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 686)
2107
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2108
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2109
+ Parameters: {"payment_id"=>"0"}
2110
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2111
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:35:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:20: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:85: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.2/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>'"]
2112
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 367)
2113
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2114
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2115
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2116
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2117
+ Did you mean? amount
2118
+ action
2119
+ controller
2120
+ return_url
2121
+ ["/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:29:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.2/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>'"]
2122
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
2123
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2124
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2125
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2126
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 310)
2127
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2128
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2129
+ Parameters: {"id"=>"company-no"}
2130
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2131
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.9ms | Allocations: 266)
2132
+ Completed 200 OK in 6ms (Views: 4.0ms | Allocations: 2405)
2133
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-27 19:06:00 +0100
2134
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2135
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2136
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2137
+ Parameters: {"id"=>"99999999"}
2138
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2139
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 96)
2140
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 547)
2141
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2142
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2143
+ Parameters: {"id"=>"05868270"}
2144
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2145
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.5ms | Allocations: 123)
2146
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 623)
2147
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2148
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2149
+ Parameters: {"id"=>"SC247974"}
2150
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2151
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2152
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
2153
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2154
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2155
+ Parameters: {"id"=>"foo"}
2156
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2157
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2158
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
2159
+ 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-27 19:06:01 +0100
2160
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2161
+ 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"}
2162
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2163
+ Completed 302 Found in 0ms (Allocations: 403)
2164
+ 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-27 19:06:01 +0100
2165
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2166
+ 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"}
2167
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2168
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 457)
2169
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1203)
2170
+ 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-27 19:06:01 +0100
2171
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2172
+ 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"}
2173
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2174
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
2175
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2176
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2177
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2178
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 147)
2179
+ Completed 200 OK in 2ms (Views: 2.0ms | Allocations: 1161)
2180
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2181
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2182
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2183
+ Completed 500 Internal Server Error in 1ms (Allocations: 611)
2184
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2185
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2186
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2187
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 156)
2188
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 716)
2189
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2190
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-27 19:06:01 +0100
2191
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 10:57:42 +0100
2192
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2193
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2194
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2195
+ Did you mean? amount
2196
+ action
2197
+ controller
2198
+ return_url
2199
+ ["/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:34:in `valid_create_params'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:9: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:57:in `block (6 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/matchers/active_job.rb:234:in `matches?'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:65:in `to'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:139:in `to'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:57: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.2/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>'"]
2200
+ Completed 500 Internal Server Error in 2ms (Allocations: 477)
2201
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 10:58:12 +0100
2202
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2203
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2204
+ MOCKS: Govpay payment creation error: undefined method `GovpayPaymentCallbackJob' for #<DefraRubyMocks::GovpayController:0x000000000056e0>
2205
+ Did you mean? govpay_payment_details_url
2206
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:13: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:47:in `block (6 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/matchers/active_job.rb:234:in `matches?'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:65:in `to'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:139:in `to'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:47: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.2/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>'"]
2207
+ Completed 500 Internal Server Error in 10928ms (Allocations: 39751)
2208
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 10:58:33 +0100
2209
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2210
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2211
+ MOCKS: Govpay payment creation error: undefined method `GovpayPaymentCallbackJob' for #<DefraRubyMocks::GovpayController:0x000000000056e0>
2212
+ Did you mean? govpay_payment_details_url
2213
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:13: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:47:in `block (6 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/matchers/active_job.rb:234:in `matches?'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:65:in `to'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:139:in `to'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:47: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.2/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>'"]
2214
+ Completed 500 Internal Server Error in 31358ms (Allocations: 40078)
2215
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 10:59:28 +0100
2216
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2217
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2218
+ MOCKS: Govpay payment creation error: undefined method `GovpayPaymentCallbackJob' for #<DefraRubyMocks::GovpayController:0x000000000056e0>
2219
+ Did you mean? govpay_payment_details_url
2220
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:13: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:46:in `block (6 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/matchers/active_job.rb:234:in `matches?'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:65:in `to'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:139:in `to'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:46: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.2/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>'"]
2221
+ Completed 500 Internal Server Error in 6532ms (Allocations: 39739)
2222
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 11:01:42 +0100
2223
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2224
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2225
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 11:23:53 +0100
2226
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2227
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2228
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 11:24:54 +0100
2229
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2230
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2231
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 11:25:28 +0100
2232
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2233
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2234
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 12:45:58 +0100
2235
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 12:46:11 +0100
2236
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 12:54:44 +0100
2237
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2238
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2239
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 12:56:52 +0100
2240
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2241
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2242
+ MOCKS: Govpay payment creation error: undefined method `perform_later' for #<DefraRubyMocks::GovpayPaymentCallbackJob:0x00007fcbdcf331d0>
2243
+ Did you mean? perform
2244
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:13: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:46:in `block (6 levels) in <module:DefraRubyMocks>'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-rails-5.1.2/lib/rspec/rails/matchers/active_job.rb:234:in `matches?'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:65:in `to'", "/Users/pauldoyle/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb:139:in `to'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/spec/requests/govpay_spec.rb:46: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.2/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>'"]
2245
+ Completed 500 Internal Server Error in 48781ms (Allocations: 361687)
2246
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 12:59:46 +0100
2247
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2248
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2249
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 155d1f46-118e-45a0-b477-e0386be8418a) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2250
+ Completed 200 OK in 42812ms (Views: 0.8ms | Allocations: 38306)
2251
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2252
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2253
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2254
+ Parameters: {"id"=>"company-no"}
2255
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2256
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 4.3ms | Allocations: 265)
2257
+ Completed 200 OK in 18ms (Views: 9.7ms | Allocations: 2457)
2258
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2259
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2260
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2261
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2262
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2263
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 148)
2264
+ Completed 200 OK in 3ms (Views: 2.4ms | Allocations: 1315)
2265
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2266
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2267
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2268
+ Completed 500 Internal Server Error in 1ms (Allocations: 615)
2269
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2270
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2271
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2272
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 156)
2273
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 716)
2274
+ 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-28 15:20:20 +0100
2275
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2276
+ 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"}
2277
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2278
+ Completed 302 Found in 0ms (Allocations: 358)
2279
+ 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-28 15:20:20 +0100
2280
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2281
+ 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"}
2282
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2283
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 457)
2284
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1096)
2285
+ 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-28 15:20:20 +0100
2286
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2287
+ 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"}
2288
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2289
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
2290
+ Started GET "/defra_ruby_mocks/govpay/payments/diptkh5pazmirny71tk3m8t1a3" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2291
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2292
+ Started POST "/defra_ruby_mocks/govpay/lhgplhr6qbrpsn9s085jv1j436/refunds" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2293
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2294
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2295
+ Parameters: {"payment_id"=>"0"}
2296
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2297
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:40:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:25: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:90: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.2/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>'"]
2298
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 365)
2299
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2300
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2301
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2302
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 573)
2303
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2304
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2305
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2306
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 5bfd89da-d758-4fd8-9cb4-24ec844ed6eb) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2307
+ Completed 200 OK in 2ms (Views: 0.2ms | Allocations: 512)
2308
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2309
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2310
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2311
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 884eab99-fc9c-4de8-8d24-0603b82acedc) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2312
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
2313
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2314
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2315
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2316
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2317
+ Did you mean? amount
2318
+ action
2319
+ controller
2320
+ return_url
2321
+ ["/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:34: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:54: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.2/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>'"]
2322
+ Completed 500 Internal Server Error in 1ms (Allocations: 385)
2323
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2324
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2325
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2326
+ Parameters: {"id"=>"foo"}
2327
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2328
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
2329
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 535)
2330
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2331
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2332
+ Parameters: {"id"=>"SC247974"}
2333
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2334
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.2ms | Allocations: 122)
2335
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 622)
2336
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2337
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2338
+ Parameters: {"id"=>"99999999"}
2339
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2340
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2341
+ Completed 404 Not Found in 0ms (Views: 0.4ms | Allocations: 254)
2342
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-28 15:20:20 +0100
2343
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2344
+ Parameters: {"id"=>"05868270"}
2345
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2346
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.1ms | Allocations: 12)
2347
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 306)
2348
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2349
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2350
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2351
+ Parameters: {"id"=>"company-no"}
2352
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2353
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.9ms | Allocations: 265)
2354
+ Completed 200 OK in 7ms (Views: 4.2ms | Allocations: 2457)
2355
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2356
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2357
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2358
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 601)
2359
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2360
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2361
+ Parameters: {"payment_id"=>"0"}
2362
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2363
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:40:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:25: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:90: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.2/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>'"]
2364
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 345)
2365
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2366
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2367
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2368
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2369
+ Did you mean? amount
2370
+ action
2371
+ controller
2372
+ return_url
2373
+ ["/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:34: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:54: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.2/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>'"]
2374
+ Completed 500 Internal Server Error in 1ms (Allocations: 385)
2375
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2376
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2377
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2378
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: e3d1a2cd-b3b5-43ba-86de-19611b47e8e5) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2379
+ Completed 200 OK in 4ms (Views: 0.2ms | Allocations: 770)
2380
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2381
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2382
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2383
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 05ea21da-5cb1-4c6d-be62-3f4b04a3c288) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2384
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
2385
+ Started POST "/defra_ruby_mocks/govpay/vmnau8pwd1s44m9vflqg5yf1el/refunds" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2386
+ Started GET "/defra_ruby_mocks/govpay/payments/60mi9utgvz2crcfkw1qlb07a6y" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2387
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2388
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2389
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2390
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2391
+ Parameters: {"id"=>"SC247974"}
2392
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2393
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.6ms | Allocations: 125)
2394
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 628)
2395
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2396
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2397
+ Parameters: {"id"=>"foo"}
2398
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2399
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
2400
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 535)
2401
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2402
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2403
+ Parameters: {"id"=>"05868270"}
2404
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2405
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2406
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
2407
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2408
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2409
+ Parameters: {"id"=>"99999999"}
2410
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2411
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2412
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
2413
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2414
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2415
+ 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-28 15:21:24 +0100
2416
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2417
+ 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"}
2418
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2419
+ Completed 500 Internal Server Error in 0ms (Allocations: 220)
2420
+ 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-28 15:21:24 +0100
2421
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2422
+ 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"}
2423
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2424
+ Completed 302 Found in 0ms (Allocations: 357)
2425
+ 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-28 15:21:24 +0100
2426
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2427
+ 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"}
2428
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2429
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.8ms | Allocations: 457)
2430
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 1203)
2431
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2432
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2433
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2434
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 162)
2435
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 1233)
2436
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2437
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2438
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2439
+ Completed 500 Internal Server Error in 1ms (Allocations: 610)
2440
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:21:24 +0100
2441
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2442
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2443
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.6ms | Allocations: 141)
2444
+ Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 644)
2445
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2446
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2447
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2448
+ Completed 500 Internal Server Error in 2ms (Allocations: 678)
2449
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2450
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2451
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2452
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 1.2ms | Allocations: 310)
2453
+ Completed 200 OK in 8ms (Views: 7.2ms | Allocations: 2433)
2454
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2455
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2456
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2457
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 156)
2458
+ Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 716)
2459
+ 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-28 15:27:59 +0100
2460
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2461
+ 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"}
2462
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2463
+ Completed 302 Found in 1ms (Allocations: 376)
2464
+ 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-28 15:27:59 +0100
2465
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2466
+ 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"}
2467
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2468
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.8ms | Allocations: 459)
2469
+ Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 1099)
2470
+ 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-28 15:27:59 +0100
2471
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2472
+ 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"}
2473
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2474
+ Completed 500 Internal Server Error in 0ms (Allocations: 175)
2475
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2476
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2477
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2478
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2479
+ Parameters: {"id"=>"05868270"}
2480
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2481
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.5ms | Allocations: 122)
2482
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 1302)
2483
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2484
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2485
+ Parameters: {"id"=>"foo"}
2486
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2487
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.5ms | Allocations: 86)
2488
+ Completed 404 Not Found in 2ms (Views: 1.4ms | Allocations: 535)
2489
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2490
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2491
+ Parameters: {"id"=>"SC247974"}
2492
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2493
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2494
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 307)
2495
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2496
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2497
+ Parameters: {"id"=>"99999999"}
2498
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2499
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2500
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
2501
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2502
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2503
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2504
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2505
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2506
+ Did you mean? amount
2507
+ action
2508
+ controller
2509
+ return_url
2510
+ ["/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:34: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:54: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.2/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>'"]
2511
+ Completed 500 Internal Server Error in 1ms (Allocations: 409)
2512
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2513
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2514
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2515
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 67b8c7ae-429b-4a40-b8f1-3c846d902519) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2516
+ Completed 200 OK in 6ms (Views: 0.3ms | Allocations: 771)
2517
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2518
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2519
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2520
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 8243542b-eb89-44ab-ba35-31545f2d306a) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2521
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
2522
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2523
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2524
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2525
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 569)
2526
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2527
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2528
+ Parameters: {"payment_id"=>"0"}
2529
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2530
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:40:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:25: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:90: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.2/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>'"]
2531
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 341)
2532
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2533
+ Started POST "/defra_ruby_mocks/govpay/cowlompq30ycxv7hyx22a4cnjt/refunds" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2534
+ Started GET "/defra_ruby_mocks/govpay/payments/uwnuhb38ixd1wkab24upy34mvz" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2535
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2536
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:27:59 +0100
2537
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2538
+ Parameters: {"id"=>"company-no"}
2539
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2540
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.4ms | Allocations: 104)
2541
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 588)
2542
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2543
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2544
+ Parameters: {"id"=>"99999999"}
2545
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2546
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 1.2ms | Allocations: 253)
2547
+ Completed 404 Not Found in 6ms (Views: 6.2ms | Allocations: 2394)
2548
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2549
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2550
+ Parameters: {"id"=>"05868270"}
2551
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2552
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.4ms | Allocations: 123)
2553
+ Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 633)
2554
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2555
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2556
+ Parameters: {"id"=>"SC247974"}
2557
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2558
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2559
+ Completed 200 OK in 1ms (Views: 0.3ms | Allocations: 311)
2560
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2561
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2562
+ Parameters: {"id"=>"foo"}
2563
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2564
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2565
+ Completed 404 Not Found in 0ms (Views: 0.3ms | Allocations: 253)
2566
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2567
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2568
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2569
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2570
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.6ms | Allocations: 164)
2571
+ Completed 200 OK in 3ms (Views: 2.4ms | Allocations: 1388)
2572
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2573
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2574
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2575
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.5ms | Allocations: 141)
2576
+ Completed 200 OK in 2ms (Views: 1.3ms | Allocations: 644)
2577
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2578
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2579
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2580
+ Completed 500 Internal Server Error in 1ms (Allocations: 615)
2581
+ 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-28 15:32:11 +0100
2582
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2583
+ 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"}
2584
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2585
+ Completed 302 Found in 0ms (Allocations: 357)
2586
+ 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-28 15:32:11 +0100
2587
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2588
+ 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"}
2589
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2590
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 457)
2591
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1096)
2592
+ 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-28 15:32:11 +0100
2593
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2594
+ 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"}
2595
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2596
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
2597
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2598
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 15:32:11 +0100
2599
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2600
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2601
+ Parameters: {"id"=>"company-no"}
2602
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2603
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.4ms | Allocations: 108)
2604
+ Completed 200 OK in 1ms (Views: 0.8ms | Allocations: 601)
2605
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2606
+ Started POST "/defra_ruby_mocks/govpay/e2kupgu6x1igxsozjhkq5o1kyv/refunds" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2607
+ Started GET "/defra_ruby_mocks/govpay/payments/bmtb636xir5mf8tarh10xwb88e" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2608
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2609
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2610
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2611
+ Parameters: {"payment_id"=>"0"}
2612
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2613
+ ["/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:40:in `valid_payment_id'", "/Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/controllers/defra_ruby_mocks/govpay_controller.rb:25: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:90: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.2/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>'"]
2614
+ Completed 422 Unprocessable Entity in 1ms (Allocations: 399)
2615
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2616
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2617
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2618
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 594)
2619
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2620
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2621
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2622
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: fa731604-7b45-4b27-bd15-ab4737a10f2d) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2623
+ Completed 200 OK in 3ms (Views: 0.3ms | Allocations: 521)
2624
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2625
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2626
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2627
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: ddb2b616-9aca-4355-8b3f-9de4fe67bd45) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2628
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 385)
2629
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 15:32:13 +0100
2630
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2631
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2632
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2633
+ Did you mean? amount
2634
+ action
2635
+ controller
2636
+ return_url
2637
+ ["/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:34: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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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:54: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.2/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>'"]
2638
+ Completed 500 Internal Server Error in 1ms (Allocations: 398)
2639
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2640
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2641
+ Parameters: {"id"=>"05868270"}
2642
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2643
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 1.2ms | Allocations: 284)
2644
+ Completed 200 OK in 7ms (Views: 4.5ms | Allocations: 2492)
2645
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2646
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2647
+ Parameters: {"id"=>"foo"}
2648
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2649
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.6ms | Allocations: 86)
2650
+ Completed 404 Not Found in 1ms (Views: 1.2ms | Allocations: 535)
2651
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2652
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2653
+ Parameters: {"id"=>"SC247974"}
2654
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb
2655
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (Duration: 0.0ms | Allocations: 12)
2656
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 313)
2657
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2658
+ Processing by DefraRubyMocks::CompanyController#show as HTML
2659
+ Parameters: {"id"=>"99999999"}
2660
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb
2661
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (Duration: 0.0ms | Allocations: 10)
2662
+ Completed 404 Not Found in 0ms (Views: 0.2ms | Allocations: 253)
2663
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2664
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2665
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2666
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2667
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: cbb54887-a5e3-4163-940f-1a28fff351c9) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2668
+ Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 540)
2669
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2670
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2671
+ Parameters: {"amount"=>"14500", "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2672
+ [ActiveJob] Enqueued DefraRubyMocks::GovpayPaymentCallbackJob (Job ID: 59a6bbb3-a549-427d-a822-3e1530522a21) to Test(default) with arguments: "https://your.service.gov.uk/completed"
2673
+ Completed 200 OK in 1ms (Views: 0.2ms | Allocations: 372)
2674
+ Started POST "/defra_ruby_mocks/govpay/v1/payments" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2675
+ Processing by DefraRubyMocks::GovpayController#create_payment as HTML
2676
+ Parameters: {"amount"=>nil, "reference"=>"12345", "description"=>"Pay your council tax", "return_url"=>"https://your.service.gov.uk/completed"}
2677
+ MOCKS: Govpay payment creation error: param is missing or the value is empty: amount
2678
+ Did you mean? amount
2679
+ action
2680
+ controller
2681
+ return_url
2682
+ Completed 500 Internal Server Error in 0ms (Allocations: 108)
2683
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/12345678901234567890123456" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2684
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2685
+ Parameters: {"payment_id"=>"12345678901234567890123456"}
2686
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 571)
2687
+ Started GET "/defra_ruby_mocks/govpay/v1/payments/0" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2688
+ Processing by DefraRubyMocks::GovpayController#payment_details as HTML
2689
+ Parameters: {"payment_id"=>"0"}
2690
+ MOCKS: Govpay payment details error: Invalid Govpay payment ID 0
2691
+ Completed 422 Unprocessable Entity in 0ms (Allocations: 68)
2692
+ Started POST "/defra_ruby_mocks/govpay/j0gbui7mw1hxcu4disdt8shg4a/refunds" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2693
+ Started POST "/defra_ruby_mocks/govpay/payments" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2694
+ Started GET "/defra_ruby_mocks/govpay/payments/6f5a76w76qv10w7mzparaja22a" for 127.0.0.1 at 2022-06-28 17:05:31 +0100
2695
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2696
+ Started GET "/defra_ruby_mocks/company/company-no/officers" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2697
+ Processing by DefraRubyMocks::CompanyController#officers as HTML
2698
+ Parameters: {"id"=>"company-no"}
2699
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb
2700
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/officers.json.erb (Duration: 0.7ms | Allocations: 108)
2701
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 600)
2702
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2703
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2704
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb
2705
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (Duration: 0.8ms | Allocations: 162)
2706
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 1386)
2707
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2708
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2709
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb
2710
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (Duration: 0.5ms | Allocations: 141)
2711
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 644)
2712
+ Started POST "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2713
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
2714
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
2715
+ Completed 500 Internal Server Error in 1ms (Allocations: 610)
2716
+ 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-28 17:05:32 +0100
2717
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2718
+ 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"}
2719
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
2720
+ Completed 500 Internal Server Error in 0ms (Allocations: 174)
2721
+ 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-28 17:05:32 +0100
2722
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2723
+ 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"}
2724
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
2725
+ Completed 302 Found in 0ms (Allocations: 357)
2726
+ 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-28 17:05:32 +0100
2727
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
2728
+ 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"}
2729
+ Rendering /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb
2730
+ Rendered /Users/pauldoyle/dev/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (Duration: 0.7ms | Allocations: 457)
2731
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 1096)
2732
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2022-06-28 17:05:32 +0100
2733
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2022-06-28 17:05:32 +0100