Skip to content

Commit

Permalink
Merge branch '8561-fix-request-controller-transient-spec-failure' int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
gbp committed Feb 3, 2025
2 parents 14d738f + 8b22d98 commit 443b16f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/controllers/request_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
end

RSpec.describe RequestController, "when listing recent requests" do
before { update_xapian_index }

it "should be successful" do
get :list, params: { view: 'all' }
expect(response).to be_successful
Expand Down Expand Up @@ -63,7 +65,6 @@
end

it 'sets title based on if tag does not match an request category' do
update_xapian_index
get :list, params: { view: 'all', tag: 'other' }
expect(assigns[:title]).to eq('Found 0 requests tagged ‘other’')

Expand Down

0 comments on commit 443b16f

Please sign in to comment.