Open gbp opened 5 years ago
Seeing this again on https://github.com/mysociety/alaveteli/runs/3532511578?check_suite_focus=true
1) AlaveteliPro::BatchRequestAuthoritySearchesController#index when responding to an ajax request behaves like creating a search performs a search
Failure/Error: expect(results.first[:model].name).to eq authority_1.name
expected: "Example Public Body 2628"
got: "Example Public Body 2630"
(compared using ==)
Shared Example Group: "creating a search" called from ./spec/controllers/alaveteli_pro/batch_request_authority_searches_controller_spec.rb:106
# ./spec/controllers/alaveteli_pro/batch_request_authority_searches_controller_spec.rb:7:in `block (2 levels) in <top (required)>'
7080 examples, 1 failure, 5 pending
Failed examples:
rspec './spec/controllers/alaveteli_pro/batch_request_authority_searches_controller_spec.rb[1:1:4:1:1]' # AlaveteliPro::BatchRequestAuthoritySearchesController#index when responding to an ajax request behaves like creating a search performs a search
Randomized with seed 33365