Use to_json call in donation campaigns (#38223)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-03-16 14:32:05 +00:00
1 parent c05492ed5a
commit 7933fa4f94
2 files changed
+2 -2

No files matched your search

@@ -78,7 +78,7 @@ RSpec.describe 'Donation campaigns' do
end
before do
stub_request(:get, "#{api_url}?platform=web&seed=#{seed}&locale=en").to_return(body: Oj.dump(campaign_json), status: 200)
stub_request(:get, "#{api_url}?platform=web&seed=#{seed}&locale=en").to_return(body: JSON.generate(campaign_json), status: 200)
end
it 'returns the expected campaign' do