[deploy] Remove milestone sends (#7313)
This commit is contained in:
parent
3a22087383
commit
645920c09f
2 changed files with 3 additions and 3 deletions
|
|
@ -24,8 +24,8 @@ module Articles
|
|||
qualified_articles.each_slice(15) do |chunk|
|
||||
chunk.each do |article|
|
||||
article.update_columns(previous_positive_reactions_count: article.positive_reactions_count)
|
||||
Notification.send_milestone_notification(type: "Reaction", article_id: article.id)
|
||||
Notification.send_milestone_notification(type: "View", article_id: article.id)
|
||||
# Notification.send_milestone_notification(type: "Reaction", article_id: article.id)
|
||||
# Notification.send_milestone_notification(type: "View", article_id: article.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ RSpec.describe Articles::AnalyticsUpdater, type: :service do
|
|||
analytics_updater_service.call
|
||||
end
|
||||
|
||||
it "sends send_milestone_notification for Reaction and View" do
|
||||
xit "sends send_milestone_notification for Reaction and View" do
|
||||
%w[Reaction View].each do |type|
|
||||
expect(Notification).to have_received(:send_milestone_notification).with(type: type, article_id: article.id)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue