Merge pull request #5271 from consuldemocracy/dependabot/bundler/rubocop-rails-2.21.2

Bump rubocop-rails from 2.20.2 to 2.21.2
This commit is contained in:
Javi Martín
2023-11-20 17:54:30 +01:00
committed by GitHub
32 changed files with 83 additions and 72 deletions

View File

@@ -75,7 +75,7 @@ describe Shared::BannerComponent do
end
it "does not render anything with no active banners" do
Banner.all.each { |banner| banner.update!(post_ended_at: Date.current - 1.day) }
Banner.find_each { |banner| banner.update!(post_ended_at: Date.current - 1.day) }
render_inline Shared::BannerComponent.new("debates")